Reputation: 67
I have an app on Rails 4.2 which is working fine.
Now I want to install Rails 5 to follow a tutorial which uses Rails 5 and Angular 2. I want to do this without breaking my old app on 4.2, which I cannot afford to mess with.
What is the best way to install Rails 5 and use it only on the new project, without causing any problems to other apps on older versions?
Upvotes: 1
Views: 41
Reputation: 22926
In the old project, set your rails version to 4.2.4 (or your current subversion):
gem 'rails', '~> 4.2.4'
In the new project, set it to 5.
gem 'rails', '~> 5.0'
Upvotes: 1