I'm trying to move from ruby 1.8 to 1.9 something.
I have tried installing the newer ruby in a number of ways - with rvm, with apt-get, etc. No matter whi开发者_如何学运维ch way I do it, once I've got /usr/bin/ruby pointing at that, no gems can be loaded ("no such file to load").
I have tried reinstalling them, both as super user and regular, and the gem install command finishes successfully, but it still doesn't find them.
I have also installed rubygems1.9.1
Can someone please tell me what's wrong. This is insanely frustrating - I have installed every gem several times in many many places and yet it doesn't find any of them. I have tried setting GEMS_DIR to no avail as well.
- Remove every Ruby installation you got. Be sure there are no 'ruby' and 'gem' executables anywhere.
- Install RVM and check if it went well
- Install all the dependencies listed in
rvm notes
output. - Do
rvm install 1.9.2
and start installing your gems.
精彩评论