While Running Ruby on Rails projects in development mode, many of you might have came across slow development process. Now, there is one easy way to speed up Rails Development Environment mode.
You have to follow these steps to make development faster,
Install gem named ‘active_reload’ on your machine.
Command to install ‘active_reload’ gem on your machine,
After installing this gem, add the gem in your Rails Project.
To add the gem in your project file, open gemfile and add,
Run your project in development mode
This will make the development faster than what you have tried before.
Basically this tool reloads the content of your web only if it detects change in the code than previous load. If you want to know more about the gem ‘active_reload’ then you can get it here. So, in this tutorial we learned how to speed up rails development environment using active_realod.
Subscribe to Ruby in Rails
Get the latest posts delivered right to your inbox