Forum: Ruby on Rails compromising development mode and production mode

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Sam K. (Guest)
on 2009-04-09 10:38

I have a very stupid question.

I run my rails application on phusion passenger.
As you know, in production mode I need to 'touch tmp/restart.txt' when
I've changed some files.
In development mode, it's not needed.

Can I run the production mode application like it's development mode so
that I don't need to 'touch tmp/restart.txt'?
Of course, I can set it to run in development mode.
However, I don't want any other development mode feature except that
'touch tmp/restart.txt' thing.

The application doesn't have to be fast.
So speed is not an issue here.


This topic is locked and can not be replied to.