How to get RVM to set correct gem path

后端 未结 3 550
囚心锁ツ
囚心锁ツ 2020-12-05 14:54

On a clean Mac OS X \"Snow Leopard\" install, I have a problem with RVM: It sets the Ruby path correctly but doesn\'t set the gem path. When I start a Rails server it mixes

3条回答
  •  广开言路
    2020-12-05 15:55

    Make sure you do a gem install rails after setting the default Ruby version:

      rvm use 1.9.2-head
      gem install rails
    

    and then check again with which rails.

提交回复
热议问题