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

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

Is it possible to correctly lower the current rails 3.0.1 to rails 2.3.5?

+3
source share
2 answers

You do not need to downgrade, RubyGems allow you to install multiple versions of the same library.

$ gem install rails -v 2.3.5
+3
source

To avoid version adenization, you can also use rvm , which allows you to install multiple versions of ruby ​​and "gemsets" on the same machine and switch between them.

+3
source

Source: https://habr.com/ru/post/1771914/


All Articles