Possible Duplicate:
Why are gems installed in a 1.9.1 directory when my Ruby version is different than 1.9.1?
I've installed Ruby 1.9.3-p0 on an RHEL 6 system (Linux 2.6.32-122.el6.x86_64) by downloading the source and compiling. I didn't use any options. Just ./configure
, make
, and make install
.
When I run gem environment
I get...
$ gem environment
RubyGems Environment:
- RUBYGEMS VERSION: 1.8.17
- RUBY VERSION: 1.9.3 (2011-10-30 patchlevel 0) [x86_64-linux]
- INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.9.1
- RUBY EXECUTABLE: /usr/local/bin/ruby
- EXECUTABLE DIRECTORY: /usr/local/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-linux
- GEM PATHS:
- /usr/local/lib/ruby/gems/1.9.1
- /root/.gem/ruby/1.9.1
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://rubygems.org/
Notice the references to "/usr/local/lib/ruby/gems/1.9.1". Shouldn't that be "1.9.3"?
I ran gem update --system
, and it output "1.9.1" both before and after I did so.