简体   繁体   English

如何使用Instant Rails在Windows中升级我的Ruby版本?

[英]How do I upgrade my Ruby version in Windows using Instant Rails?

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? 如果我使用Instant Rails,我如何将我的Ruby版本从1.8.6升级到1.9。*他们说在Windows中运行速度更快? What's the necessary Instant Rails console command? 什么是必要的Instant Rails控制台命令? Thanks. 谢谢。

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:\\ ruby​​192或其他)然后使用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. 请记住,您必须再次安装所有宝石。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM