These instructions will step you through the process of upgrading a project from Rails 4 to Rails 5.
Before doing any of the following, ensure that you have Rails 5.1.2 installed (rails -v
). If not, run gem install rails -version=5.1.2
.
Let's call the existing Rails 4 project OP (Old Project), and the new Rails 5 project NP (New Project). The steps are as follows.