Does anyone have Ruby on Rails running on a shared Dreamhost box?
Every tutorial and step-by-step I’ve tried does not work, including two in the Dreamhost wiki and the ones from Rails themselves.
The main issue is that the public/ folder just gives me a directory listing. I have Passenger setup for my domain and have deleted the index.html in the public folder. The Web Directory setting in Manage Domains points to /home/myuser/mydomain.com/public, and public is symlinked to /home/myuser/mydomain.com/myrubyapp/public. When I surf to www.mydomain.com, I get a directory listing of /home/myser/myrubyapp/public. Ditto if I surf to www.mydomain.com/myrubyapp/public
I also tried setting the Manage Domains Web Directory setting to /home/myuser/mydomain.com/myrubyapp/public (i.e., eliminating the symlink), and that didn’t change anything. Still got a directory listing.
Again, this shared hosting…about half the Ruby-on-Dreamhost stuff I’ve googled assumes a VPS.
starts with a comment noting that the Passenger instructions don’t work. Great.
I have zero .htaccess files anywhere in that domain.
Looks like others have the same problems:
Following this classic for a ways:
Doesn’t get me any further (i.e., “rails generate controller home index” and modifying config/routes.rb don’t change anything). SQLite vs. MySQL makes no difference.
I won’t even get into how broken the FastCGI tutorial on the wiki is.
Seriously - Rails on Dreamhost…it can’t really be this difficult, can it?
BTW, /home/myuser/mydomain.com/myrailsapp/log/production.log is a 0-length, empty file. Actually, all the files everything in log/ is a 0-length, empty file.