Last active
May 31, 2016 23:19
-
-
Save ipoval/5d241556e03a902f9b776da2f1780fa3 to your computer and use it in GitHub Desktop.
Rails 4 upgrade
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Upgrading Rails 3.2.12.2 to Rails 4.1.15 | |
git fetch origin rails_4 | |
git checkout -b rails_4 FETCH_HEAD | |
rails_4 branch is rebased often, so git branch -D rails_4; git pull origin rails_4 | |
MAIN AREAS OF WORK | |
- everything that has `# FIXME: rails4` comment line in this PR needs to be fixed for `rails_4` branch | |
- if possible the fix should be applied in `master` branch first, and `rails_4` branch rebased on top of `master` | |
TESTS | |
bundle install | |
bundle exec rails c | |
RAILS_ENV=production bundle exec rake assets:precompile | |
bundle exec rake test | |
GUIDES | |
bundle exec rake rails:update | |
http://railscasts.com/episodes/415-upgrading-to-rails-4 | |
http://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html | |
https://rubygems.org/gems/rails/versions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment