ruby - Get list of gems being used by a Bundler project -
is there way list of gems or paths gems being loaded current project bundler (it's rails 3) project.
i'm looking like:
gem.path
but returns ones being actively required bundler in gemfile.
what looking this:
gem.loaded_specs.values.map { |g| g.full_gem_path }
Comments
Post a Comment