If I'm using Instant Rails, how do I upgrade my Ruby version from 1.8.6 to 1.9.* which they say runs faster in Windows? What's the necessary Instant Rails console command? Thanks.
如果我使用Instant Rails,我如何将我的Ruby版本从1.8.6升级到1.9。*他们说在Windows中运行速度更快?什么是必要的Instant Rails控制台命令?谢谢。
1 个解决方案
#1
2
Here's an alternative to consider.
这是另一种考虑因素。
You could just install ruby 1.9.2 (1.9.1 segfaults with Rails3 and isn't recommended ... make sure to install it to a different folder like c:\ruby192 or something) then use pik http://github.com/vertiginous/pik to switch the ruby version you're running.
您可以安装ruby 1.9.2(使用Rails3的1.9.1段错误,不推荐...确保将其安装到不同的文件夹,如c:\ ruby192或其他)然后使用pik http://github.com / vertiginous / pik切换正在运行的ruby版本。
I bet that would work just fine. Keep in mind that you'd have to install all your gems again though.
我打赌这会很好。请记住,您必须再次安装所有宝石。
#1
2
Here's an alternative to consider.
这是另一种考虑因素。
You could just install ruby 1.9.2 (1.9.1 segfaults with Rails3 and isn't recommended ... make sure to install it to a different folder like c:\ruby192 or something) then use pik http://github.com/vertiginous/pik to switch the ruby version you're running.
您可以安装ruby 1.9.2(使用Rails3的1.9.1段错误,不推荐...确保将其安装到不同的文件夹,如c:\ ruby192或其他)然后使用pik http://github.com / vertiginous / pik切换正在运行的ruby版本。
I bet that would work just fine. Keep in mind that you'd have to install all your gems again though.
我打赌这会很好。请记住,您必须再次安装所有宝石。