开发者

Successfully Installed Ruby 1.9.2 with RVM but now it reverted back to 1.8.7

Note: Im on OSX 10.6.6

I successfully installed 1.9.2 using RVM. After doing so 开发者_JAVA百科I ran rvm --default use 1.9.2, which also appeared to work fine. Ran Ruby -v command and sure enough 1.9.2 appeared.

Now, I closed my terminal session and opened a new one, ran ruby -v and it reverted back to 1.8.7

I removed rvm, repeated the install and the same thing happens.

Any ideas?

Thanks


You need to add the following to your ~/.bash_profile file to ensure that RVM is loaded properly in a terminal session:

[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜