DreamHost offers Passenger / mod_rails
The Ruby on Rails deployment tool we wrote about a while ago has just been launched.
To enable Passenger, edit any of your fully hosted domains or add a new domain from the Manage Domains area in the web panel, and check the Ruby on Rails Passenger (mod_rails) checkbox.
When you then point that domain’s web directory to the public directory of an existing Ruby on Rails application it will work automatically.
More info in the wiki: Passenger.
We would love to hear any feedback on the new setup.
May 13th, 2008 at 14:29
This sounds great! Are users supposed to check the box for FastCGI support as well? I was under the impression that one would want either FastCGI Support or Passenger but not both.
May 13th, 2008 at 18:34
Some excellent news. It’s working for me without FastCGI. I also removed the Monrel Proxy and manually deleted the Mongrel Restart files.
May 13th, 2008 at 18:36
On the Dreamhost Wiki http://wiki.dreamhost.com/Passenger it mentions the following
“When the code for your Ruby on Rails application has changed, creating or modifying the file tmp/restart.txt in the Rails application’s root folder will tell Passenger to automatically restart the application.”
Does anyone have more information on how to create the tmp/restart.txt file?
May 13th, 2008 at 19:10
Hopefully the next feature will be memcache and then nginx.
May 13th, 2008 at 19:29
One problem I’ve found. Accessing the analog web stats no longer works with this rewrite rule
Posted an example of the fragment here
http://www.suture.net/files/htaccess_fragment.txt
May 15th, 2008 at 07:30
@Ricky: It doesn’t matter what the contents of the tmp/restart.txt file is; Passenger will simply notice that it’s there, restart your app, and delete the file. I personally added a “touch tmp/restart.txt” line to my Capistrano deployment recipes for the restart task.
May 18th, 2008 at 08:00
Thanks Nat. I got some answers to the other questions on the Official Blog http://blog.dreamhost.com/2008/05/13/passenger-for-ruby-on-rails/