问题
How do I determine the location of my ruby gems?
回答1:
you can try
gem which rails
to fetch location for particular gem, or
echo $GEM_HOME
to fetch home dir of your gems
回答2:
gem environment
...should give you all the info you need.
回答3:
With budler you can do:
bundle show <gem>
Reference: http://bundler.io/v1.1/bundle_show.html
来源:https://stackoverflow.com/questions/11109279/determine-location-of-ruby-gems