Incrementally upgrade rails 4.1 to 4.2

Hi Everyone,

Can someone tell me how to Incrementally upgrade rails 4.1 to 4.2?

Thanks,

The release and upgrade docs are pretty wonderful!

https://edgeguides.rubyonrails.org/4_2_release_notes.html

https://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html#upgrading-from-rails-4-1-to-rails-4-2

Hi Tom,

This is great and I appreciate your assistance, but I am not upgrading an app. I am upgrading the environment so I can begin to upgrade a pre-existing app and that app requires 4.2.

Thanks,

This post should help http://www.recursion.org/incremental-rails-upgrade/

You want to be checking the rails versions at various points in your code and gemfile.

4.1 to 4.2 is pretty easy compared to Major versions (although even they are getting easier)