简体   繁体   中英

upgrade from ruby 1.8.7 to 1.9.2

I'm looking to upgrade my rails project from 1.8.7 to 1.9.2, but, when I swapped ruby versions in RVM, I had same issues getting the app started. (mostly with mysql (which... 64bit mysql on mac (any version) is a pain to set up, and almost impossible))...

But anyway, aside from mysql problems, is there anything I would need to change in my code that is no longer supported in 1.9.2?

There is way too many subtle changes to cover in something like SO, but this covers it quite well (I'm not involved in any way):

http://www.rubyinside.com/19walkthrough/

Assuming you're using fairly standard Ruby there shouldn't be anything which will cause problems, but I'm sure your tests will point out anything that needs fixing.

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