Rails 3.1 without breaking

Hi, I’d like some help to install rails 3.1 without breaking old projects that use rails 3.0.9.

If I install rails 3.1, will it delete rails 3.0.9?

I don’t understand much about it, but I think all my gems are installed in the same gemset.

Or, if it is easier, simply install rails 3.1 and update old projects to it. What I mean is, can I just follow the railscast about rails 3.1 or are there other stuff that I have to change so that old projects can work from 3.0.9 to 3.1?

Thank you,

Rodrigo

Hi, I'd like some help to install rails 3.1 without breaking old projects
that use rails 3.0.9.

Use rvm for this, then you can install seperate versions of Ruby,
Rails and other gems for each application.

If I install rails 3.1, will it delete rails 3.0.9?
I don't understand much about it, but I think all my gems are installed in
the same gemset.

Oh, are you using rvm already? If so just start a new gemset for the
rails 3.1 app.

Or, if it is easier, simply install rails 3.1 and update old projects to it.
What I mean is, can I just follow the railscast about rails 3.1 or are there
other stuff that I have to change so that old projects can work from 3.0.9
to 3.1?

Using a new gemset you can keep your old projects working and update
them when convenient by updating the app and the gemset. I find it
best to have a gemset for each app, then they are fully independent.

Colin

Hi, I’d like some help to install rails 3.1 without breaking old projects that use rails 3.0.9.

If I install rails 3.1, will it delete rails 3.0.9?

I don’t understand much about it, but I think all my gems are installed in the same gemset.

Or, if it is easier, simply install rails 3.1 and update old projects to it. What I mean is, can I just follow the railscast about rails 3.1 or are there other stuff that I have to change so that old projects can work from 3.0.9 to 3.1?

Rodrigo, if you’re using Git or another source code management system, then I would recommend creating a branch for your Rails 3.1 development. Furthermore, you can

use Gemfile for your Ruby gem dependency management.

Good luck,

-Conrad