Change gems environment
Hi,
I have Mac OS snow leopard and I want to change the ruby version that is pointed in the gems environment. My env is :
$ gem env RubyGems Environment:
- RUBYGEMS VERSION: 1.8.21 - RUBY VERSION: 1.8.7 (2010-01-10
patchlevel 249) [universal-darwin10.0] - INSTALLATION DIRECTORY:
/Library/Ruby/Gems/1.8 - RUBY EXECUTABLE:
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
- EXECUTABLE DIRECTORY: /usr/bin - RUBYGEMS PLATFORMS:
- ruby
- universal-darwin-10
- GEM PATHS:
- /Library/Ruby/Gems/1.8
- /Users/jaimedemiguel/.gem/ruby/1.8
- /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/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:
and My ruby version is:
rvm list
rvm rubies
ruby-1.9.3-head [ x86_64 ]
How can I get the gems environmente to point to ruby 1.9.3?
Thanks,
Comments are currently closed for this discussion. You can start a new one.
2 Posted by jmmontero87 on 09 Apr, 2012 04:59 PM
Just realized that i didn't run rvm use 1.9.3-head.... sorry!
jmmontero87 closed this discussion on 09 Apr, 2012 05:00 PM.