This appears to be wrong, I'm not sure how to fix it.
Here's my output from "gem environment"
- RUBYGEMS VERSION: 1.3.7
- RUBY VERSION: 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux]
- INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.8
- RUBY EXECUTABLE: /usr/bin/ruby1.8
- EXECUTABLE DIRECTORY: /usr/bin
- RUBYGEMS PLATFORMS:
- GEM PATHS:
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
And here's "ruby -v"
ruby 1.9.1p0 (2009-01-30 revision 21907) [x86_64-linux]
So gem has the wrong version of ruby in the environment. I suspect this
may be the reason of some weird errors I've been seeing. So how do I
change the gem environment?