Mo.
Mo.

Reputation: 42523

is it possible to make rails 2 the default instead of rails 3 on my mac?

Is it possible to make Rails 2 the default rails on my mac?

Thanks

Upvotes: 0

Views: 71

Answers (2)

Sigurd
Sigurd

Reputation: 7953

Whenever you need to have couple of rails env RVM is always a good idea.

Upvotes: 2

Mike Yockey
Mike Yockey

Reputation: 4593

If you only wish to install rails 2, then specify the version you want when installing the gem

gem install rails-2.3.5

If you want to maintain different versions of rails, then you probably also want to maintain different versions of ruby. In that case, rvm is your friend.

Upvotes: 1

Related Questions