Change gems environment

jmmontero87's Avatar

jmmontero87

09 Apr, 2012 04:40 PM

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

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,

  1. 1 Posted by jmmontero87 on 09 Apr, 2012 04:59 PM

    jmmontero87's Avatar

    Just realized that i didn't run rvm use 1.9.3-head.... sorry!

  2. jmmontero87 closed this discussion on 09 Apr, 2012 05:00 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac