Rails 3 and shared hosting


Hi all,

I’m trying to deploy my rails 3 app on a shared dreamhost and sadly things aren’t going that smooth.

That’s why I want to ask if people here have succesfully deployed a rails 3 app with Bundler on a shared dreamhost. I also want to mention that I’m not a Linux expert and playing around with lots of configuration files is tricky for me.



I’ve gotten a few custom Rails 3 apps, as well as Opal app working on DH. All of which use bundler. Sometimes you’ll run into weird errors depending on the app. Sometimes i’ll have to store all my bundled apps locally with…

bundle install --deployment

Or sometimes I’ll have to specify the Gem location if my app is using a lot of gems that aren’t stored on my server system-wide, that I installed locally with gem install. I do this by adding this to config.ru:

ENV['GEM_HOME'] = '/home/[USERNAME]/.gems'
require 'rubygems'

After this, things usually work. Hope this helps.