Speed up rails development environment mode
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,
Step 1
Install gem named ‘active_reload’ on your machine.
Step 2
Command to install ‘active_reload’ gem on your machine,
Step 3
After installing this gem, add the gem in your Rails Project.
Step 4
To add the gem in your project file, open gemfile and add,
Step 5
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