Subhransu Mishra
Subhransu Mishra

Reputation: 3061

downgrade to rails 2.3 from 3.1.1[how to]

I need to install redmine1.4 for that need to have my rails version2.3, but I have rails3 . How can I downgrade my rails version -> Rails 2.3.14. Thanks

Upvotes: 0

Views: 537

Answers (1)

Łukasz Strzałkowski
Łukasz Strzałkowski

Reputation: 408

I not sure I get the question. From what I understand you want to install Redmine which requires rails 2.3.x but you have rails 3 gem installed. I'm not familar with redmine but I think it should use bundler and simple bundle install should do the trick.

If not, the simplest solution would be to uninstall rails 3 gem and install rails 2.3.x gem. For that you need to:

$ gem uninstall rails
$ gem install rails --version "2.3.14"

However this may broke your other apps which use rails 3.x ver. Thus I recommend using one of following tools for managing ruby versions and use feature called gemsets:

Upvotes: 3

Related Questions