ruby-on-railsruby-on-rails-2

How to use lower version of rails


I am working on a project that requires Rails 2.3.3. I have Rails 5.2.2 already installed in my system.

I am asking how to install Rails 2.3.3 and work on that project. Any links would be much appreciated.


Solution

  • You can use rvm for different rails applications.

    Try this link https://rvm.io/rvm/install.

    After installing rvm. in your gem file you can mention your rails version. it will install automatically.

    gem 'rails', '~> 2.3.3'