RVM default is 2.1.1 but 2.1.2 is loaded initially

喜夏-厌秋 提交于 2019-12-13 00:16:32

问题


When I run rvm list I get the following:

rvm rubies

ruby-1.9.2-p318 [ x86_64 ]
ruby-1.9.3-head [ x86_64 ]
ruby-1.9.3-p125 [ x86_64 ]
ruby-1.9.3-p484 [ x86_64 ]
ruby-2.0.0-p353 [ x86_64 ]

=* ruby-2.1.1 [ x86_64 ]

Which would make me think that 2.1.1 is my default ruby version. However, when I open a new terminal window and run ruby -v I get

ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]

My .bash_profile doesn't do anything besides setting $PATH and a few other variables so I cannot understand why this is being set as such. Reason this is such an issue is that I have a Rakefile which loads my automation framework and I'd rather not specify setting the ruby version in that.

来源:https://stackoverflow.com/questions/26064252/rvm-default-is-2-1-1-but-2-1-2-is-loaded-initially

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!