.
You can find the bin path to the gems by issuing the following command – note the bold blue text:
server5 ~: gem environment
RubyGems Environment:
– RUBYGEMS VERSION: 1.3.5
– RUBY VERSION: 1.8.7 (2009-12-24 patchlevel 248) [x86_64-linux]
– INSTALLATION DIRECTORY: /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8
– RUBY EXECUTABLE: /opt/ruby-enterprise-1.8.7-2010.01/bin/ruby
– EXECUTABLE DIRECTORY: /opt/ruby-enterprise-1.8.7-2010.01/bin
– RUBYGEMS PLATFORMS:
– ruby
– x86_64-linux
– GEM PATHS:
– /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8
– /home/username/.gem/ruby/1.8
– GEM CONFIGURATION:
– :update_sources => true
– :verbose => true
– :benchmark => false
– :backtrace => false
– :bulk_threshold => 1000
– :sources => [“http://gems.rubyforge.org/”, “http://gems.github.com”]
– REMOTE SOURCES:
– http://gems.rubyforge.org/
– http://gems.github.com