Instead, set up your development environment with multiple versions of Rails so you can easily switch between them.Rails is actively maintained by a large community of developers, which means constant innovation, improvements, and attention to security.It also means you must actively and regularly maintain your Rails applications.
If you neglect to update regularly, upgrading several versions at once may require considerable effort, making it difficult to resolve security vulnerabilities quickly.
If you don’t update Rails, you leave your application and its server open to attack.
Developers often install the newest version of Rails but neglect other components needed for Rails to run successfully.
Rails is not just a Ruby gem, it is a complex and rapidly evolving ecosystem.
It is important to set up your development environment with the most current version of all the gems that are needed for development. The Rails Apps project provides example applications that developers use as starter apps.
Hundreds of developers use the apps, report problems as they arise, and propose solutions.
Rails changes frequently; each application is known to work and serves as your personal “reference implementation.” Support for the project comes from developers who purchase the Capstone Rails Tutorials.
Upgrading to Rails 5.0, the newest Ruby on Rails version.
How to update Rails versions and upgrade Rails applications. This article shows how to add a new version of Rails while keeping an old version.