[英]How do I upgrade a rails 4.1 app from ruby 1.9.3 to ruby 2.1.5 without using rvm
I'm told to update my rails project from ruby version 1.9.3 to 2.1.5 but I don't know how 有人告诉我将Rails项目从ruby版本1.9.3更新到2.1.5,但我不知道如何
I updated my gem file to reflect 2.1.5, and then tried bundle install again, it seemed to work mostly... 我更新了我的gem文件以反映2.1.5,然后再次尝试捆绑安装,它似乎大部分都可以工作...
Then I tried rake db:migrate and it couldn't handle it. 然后,我尝试了rake db:migrate,但无法处理。 so I don't think I "updated correctly"
所以我认为我没有“正确更新”
I don't have RVM so I didn't know what to do with this answer. 我没有RVM,所以我不知道该怎么做。
Can someone please help me update my code or point me in the right direction? 有人可以帮我更新代码或为我指出正确的方向吗?
You're on Windows? 您在Windows上吗? Check out Ruby installer here: http://rubyinstaller.org/ .
在此处查看Ruby安装程序: http : //rubyinstaller.org/ 。 Should be able to update Ruby that way.
应该能够以这种方式更新Ruby。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.