Specifying Rails Version

前端 未结 2 1409
醉酒成梦
醉酒成梦 2020-12-19 20:41

I decided to upgrade to Ruby 2.0.0 and Rails 4.0.0. I\'m trying to set these as my default programs, by using this line:

rvm use 2.0.0@rails-4.0.0 --default         


        
相关标签:
2条回答
  • 2020-12-19 21:11

    You need to make a gemset first:

    rvm --default use 2.0.0
    rvm gemset create rails-4.0.0
    rvm use 2.0.0@rails-4.0.0 --default
    gem install rails
    

    I think that is right.

    0 讨论(0)
  • 2020-12-19 21:16

    most likely it is not empty, there is a lot of UTF-8 characters that editor will not show you, just remove the file before continuing:

    rm -f /Users/michaeldunnegan/.gemrc
    
    0 讨论(0)
提交回复
热议问题