How to fix rubygems?
August 21, 2008 6:22 PM Subscribe
I upgraded ruby on OS 10.5.4 from 1.8.6 to 1.8.7 and rubygems stopped working. How do I get rubygems to see where I've installed ruby?
posted by Inigo Jones to computers & internet (3 answers total) 1 user marked this as a favorite
I chose not to overwrite the ruby that came with OSX and instead installed 1.8.7 in /usr/local/. I did
and rubygems is still set up to use ruby 1.8.6:
- RUBY VERSION: 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.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
The rubygems directories seem to be scattered about and I can't find a file or a command to change the configuration. Most annoyingly, the rubygems docs are down right now so I can't even access those.
So, how do I make rubygems work with my installation of ruby.