Determine Location Of Ruby Gems

you can try

gem which rails

to fetch location for particular gem, or

echo $GEM_HOME

to fetch home dir of your gems


gem environment

...should give you all the info you need.


With budler you can do:

bundle show <gem>

Reference: http://bundler.io/v1.1/bundle_show.html