Determine Location Of Ruby Gems
RubyRuby on-Rails-3RubygemsRuby Problem Overview
How do I determine the location of my ruby gems?
Ruby Solutions
Solution 1 - Ruby
you can try
gem which rails
to fetch location for particular gem, or
echo $GEM_HOME
to fetch home dir of your gems
Solution 2 - Ruby
gem environment
...should give you all the info you need.