fujisan
fujisan

Reputation: 221

Upgrading Rails application with Git

Good day,

I would like to upgrade my rails 2.3 application to rails 3. I would like to know what is the proper or right way to use git to manage the upgrading and continue it on each release of my application.

I've been using git for only pull and push but not on a bigger scale.

How can I achieve this?

Upvotes: 0

Views: 50

Answers (2)

Carter
Carter

Reputation: 2870

I think there are really two questions here. I'll address the first.

Using Git to help with your upgrade

I would create a branch to do the upgrade work in.

If you are unfamiliar with branching (and merging) Google will get you far, but here is some instruction... http://git-scm.com/book/en/Git-Branching-Basic-Branching-and-Merging

Once you have the upgrade branch working and tested you could then merge your branch into master and deploy it to production.

Upvotes: 1

adityajones
adityajones

Reputation: 601

git is a version control system for code. to upgrade your rails application from 2.3 to 3, is really a two step process:

  1. make sure your application works for rails 3
  2. installing/mapping rails -> rails3

the usage of git would come into play only once you've reconfigured the server, then you'd probably want to git pull your project fresh again, of course making any post pull config changes.

Upvotes: 0

Related Questions