Skip to content

Instantly share code, notes, and snippets.

@bradical
Created January 9, 2013 03:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bradical/4490354 to your computer and use it in GitHub Desktop.
Save bradical/4490354 to your computer and use it in GitHub Desktop.
Rails upgrade
cd /path/to/my/project
git branch rails_3_2_11_upgrade
vi Gemfile # Change: gem 'rails', "3.2.10" to: gem 'rails', "3.2.11"
bundle update rails
git commit -a -m "Upgrading Rails to 3.2.11 to fix security issues"
git push -u origin rails_3_2_11_upgrade
hub "Upgrade Rails to 3.2.11 to fix security issues" -b master # Create a PR from the branch; Note the issue number
hub browse user/project pull/<PULL_REQUEST_NUM> # Open it in the browser
# Merge that branch if you can!
# Let your CI server run your tests and deploy your changes
# Relax and profit!!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment