Each time you run cap deploy to deploy a new version to dreamhost, the dreamhost won’t take effect immediately.Sometimes if you directly modify a model file, the dreamhost server won’t pickup the change immediately. to solve this problem, go to your public directory,find dispatch.fcgi file and touch it:
touch dispatch.fcgi
This can force the dreamhost to restart rails process
pretty useful
They have great hosting. And it is cheap!
http://twodayslate.wordpress.com/2008/06/13/dreamhost-invitations-4x-the-diskbandwidth/
Somehow i missed the point. Probably lost in translation
Anyway … nice blog to visit.
cheers, Edam
.
Are you using fastcgi or Passenger. Because, the most common command I’ve seen to restart Passenger on Dreamhost is:
$ touch tmp/restart.txt
It works well for me. You can read about it here if you want.
http://blog.kyleslattery.com/2008/05/17/deploying-rails-on-dreamhost-with-phusion-passenger/