Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我当前的 $GEM_PATH 是“/home/me/.rvm/gems/ruby-1.9.2-p318”,我想将其恢复为“”/home/me/.rvm/gems/ruby-1.9.2 -p290”,我需要编辑什么“rc”文件。
谢谢!
当您使用 rvm 时:
rvm use 1.9.2-p290 --default
这将为当前和下一个会话更改它
在您的控制台上执行此操作:
export GEM_PATH=/home/me/.rvm/gems/ruby-1.9.2-p290