문제

  1. I've got Xcode 3.2.1
  2. 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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top