开发者

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

开发者 https://www.devze.com 2023-01-27 19:55 出处:网络
Is it possible to make Rails 2 the default rai开发者_开发问答ls on my mac? ThanksWhenever you need to have couple of rails env RVM is always a good idea.If you only wish to install rails 2, then spe

Is it possible to make Rails 2 the default rai开发者_开发问答ls on my mac?

Thanks


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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号