From: Alex Dunae Date: 2007-11-28T02:45:11+09:00 Subject: Re: Executing ruby script on a Dreamhost account? On Nov 26, 9:48 pm, Feng Tien wrote: > So far, from what I've read, I should use eRuby if I want to execute my > program online. > > I've got Dreamhost and I know they have RoR support. I use eRuby to power a Ruby script on Dreamhost and it works beautifully (and very quickly). To get eRuby up and running, login to your shell account, copy DH's precompiled eRuby to your www directory cp /usr/bin/eruby /home/username/example.com/eruby.cgi And update your .htaccess file Options +ExecCGI DirectoryIndex index.rhtml index.html index.htm AddHandler rubypage .rhtml Action rubypage /eruby.cgi (You can see my implementation at http://code.dunae.ca/svn/premailer/tags/1.4/www/) I also run two Rails sites on Dreamhost. They've been very problematic, though they seem to have been more stable since around August. If you can get away with eRuby instead of Rails I would strongly suggest it. Good luck!