简体   繁体   中英

How to downgrade rails version in Max OS X Snow Leopard?

I have Mac OS X Snow leopard that has pre-installed Ruby 1.8.7 and Rails 3.0.1 I need to work with Redmine a bit that requires Rails 2.3.5

Is it possible to correctly downgrade my current rails 3.0.1 to rails 2.3.5?

您不需要降级,RubyGems允许您安装同一个库的多个版本。

$ gem install rails -v 2.3.5

为了避免版本控制地狱,你也可以使用rvm ,它允许你在同一台机器上安装多个ruby版本和“gemsets”并在它们之间切换。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM