简体   繁体   中英

how to convert Ruby application 1.8.7 to 1.9.2

嗨,我在ruby中有一个应用程序,但是在使用ruby 1.8.7开发的应用程序中,现在我正在使用ruby 1.9.2,将我的应用程序1.8.2更改为1.9.2或1.9.3的任何可能性

Hope this tutorial is helpful to start working on upgrading your application to Ruby-1.9.3

He explained nicely how to upgrade from Ruby-1.8.7 to Ruby-1.9.3

Given that your rails app is using day-to-day ruby functions, upgrading to ruby 1.9 should not be an issue, however read this major changes note , from ruby 1.8 to 1.9.x and see if you are using any methods that are mentioned there. But practically in most cases your rails app should run without any modifications.

And when you are installing ruby1.9.x use RVM (Ruby Version Manager) , to have your both ruby 1.8.7 and 1.9 versions side-by-side.

and if you have a good test suite, this should not be a problem at all :)

best of luck

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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