I'm trying to customize the redmine app which is built on top of rails. I set up a Vagrant with nginx + passenger. When I modify the code (say, app/controllers/issues_controller.rb), the changes are not picked by web/app server. The changes are reflected only when I restart the web server.
I have virtually tried every solution available with googling.
Ensure the app is running development mode. tried both rails_env directive RAILS_ENV in config/environment.rb
caching is disabled
First, I thought it could be the vagrant bug so I set up the same in Digital Ocean server, changed the code, still the same.
I suspect only these but I don't know how to validate it.
- Nginx + passenger continues to run in development mode even after changing the environment so my changes not picked up immediately.
- There might be something special to redmine app that changes inside app directory is not picked up until web server restart.
touch tmp/restart.txt
in your app directory. – Sharj