Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rails 3 on dreamhost?

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:

  1. I did it and it's super easy, here's how: ...
  2. Though I didn't try it, it should be easy, here's how: ...
  3. It's quite complicated, but this should get you started: ....
  4. 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?

like image 742
p33t3r Avatar asked Feb 12 '10 07:02

p33t3r


3 Answers

You can do this but it requires advanced sysadm skills.

In order to use Rails 3 on DreamHost you need to:

  • install Ruby 1.8.7
  • install RubyGems
  • install Rails 3

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.

like image 159
Simone Carletti Avatar answered Oct 31 '22 16:10

Simone Carletti


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/

like image 6
TuteC Avatar answered Oct 31 '22 15:10

TuteC


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!

like image 3
Josh Delsman Avatar answered Oct 31 '22 14:10

Josh Delsman