开发者

Can not load any gems after upgrade

开发者 https://www.devze.com 2023-02-22 13:26 出处:网络
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

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.


  1. Remove every Ruby installation you got. Be sure there are no 'ruby' and 'gem' executables anywhere.
  2. Install RVM and check if it went well
  3. Install all the dependencies listed in rvm notes output.
  4. Do rvm install 1.9.2 and start installing your gems.
0

精彩评论

暂无评论...
验证码 换一张
取 消