I'd like to deploy a small Rails 3 app on dreamhost (just for testing purposes, nothing serious) and I am wondering if anyone has done it already... Please choose one of the following:
- I did it and it's super easy, here's how: ...
- Though I didn't try it, it should be easy, here's how: ...
- It's quite complicated, but this should get you started: ....
- NO WAI!!!1!one!1 Set it up on slicehost or another non-shared hosting or you'll die a painful death trying to force it on DH
Thoughts?
I just received an email from dreamhost. I emailed them about 2 months ago regarding rails 3.0, they are starting to push it onto their servers as we speak. Assuming things work out, rails 3 should be supported within the month.
Unfortunately, I think it heavily depends on Dreamhost installing the gems for you, and allowing access to them through the shared environment. You could contact their support department for more information on if and when they plan on deploying Rails 3 to their shared servers.
On the other hand, you could do what your fourth option implies and just go ahead and get a slice somewhere (doesn't necessarily need to be with SliceHost; you could deploy cheaply with Heroku) which allows you to deploy your own gems.
Hope this helps!
I was able to get this to work by using rvm and fastcgi
My .htaccess file looked like this:
And my dispatch.fcgi looked like (note you need to fill in ):
As of today, here are what's my dreamhost machine:
You can do this but it requires advanced sysadm skills.
In order to use Rails 3 on DreamHost you need to:
all in your own home directory because you don't have privileges to install everything elsewhere.
Also, this isn't guarantee to work with the existing Dreamhost Passenger configuration.
Here are some fresh instructions:
http://blog.joeygeiger.com/2010/05/17/i-beat-dreamhost-how-to-really-get-rails-3-bundler-and-dreamhost-working/