开发者

Ruby 1.9.2 not installing on OSX?

  1. I've got Xcode 3.2.1
  2. 开发者_StackOverflow中文版I've installed Git and RVM
  3. I've installed Ruby 1.9.2, it's installed 100%
  4. I run ruby -v but instead of seeing

    ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0]
    

    I see

    ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]
    

I don't see what I could be going wrong


Try

rvm 1.9.2

Or

rvm --default 1.9.2

It is possible to use a .rvmrc to do that for the directory you cd into as well.


Have you selected the version of ruby you want to use with rvm? As in this? Note the "rvm 1.9.2" line hidden away after the rvm and ruby installs.


Type in 'rvm 1.9.2' and then type 'ruby -v'... did you do that? It looks like the Ruby 1.8.7 on your machine is the one included with OS X.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜