Anyone familiar with DreamHost for Rails sites?

I have a new client and want to install the changes, but I’m having problems witht the DreamHost setup. The site was initially developed by a firm in Florida and are rather unresponsive. They put up a custom rails site / configuration and there’s no help from DreamHost support.

Does anyone have experience with this kind of setup? Is there a way you’ve seen Rails on DreamHost with a custom setup? Any ideas what I should look for?

I am unable to get into the developer’s accounts, in spite of the fact that I’ve changed their passwords. I find the DreamHost account setup the most unintuitive, complicated mess I think I’ve ever seen for account setup [there’s no email address associated with a user account, but you still have to login with an email addres… huh?].

Any pointers would really be appreciated! Thanks much.

PS I’ve already recommended that we get off DreamHost… to Heroku or Ninefold which will be the next project.

I deployed my first development project (a PHP-based fantasy baseball site with live scoring!) to DreamHost several years ago. We ran up against limits on processor usage and configurability and moved to their VPS service. I was extremely disappointed with the performance. They are really cheap, and while I had a very different customer service experience from yours (they were super helpful and always answered my questions quickly), I just don’t think it’s a good environment to stand up a Rails project.

I know it’s not a good place if you are doing something filesystem intensive, but I really think most Rails devs should be aiming to build for and deploy to Heroku (or a similar environment), and only move on to DIY hosting type solutions with more flexibility and maintenance hassle when it is becomes a block to future growth. I see too many early Rails projects jump straight to AWS or other unconstrained but complicated solutions.

Thanks @geoffharcourt… This is not a high-performance site so that’s not the issue. But given the custom setup, support has nothing to offer.

I think I’ve figured out the site deployment issues, but the user id stuff is a nightmare.

This gets crazier and crazier. The is a DreamHost VPS site, the code is located at /var/www/ata which is also a git repo. I’ve pulled in the new code but cannot for the life of me get simple things to work… here’s the latest. If anyone has any suggestions on what to look for I’d sure appreciate it.

I seem to be getting an old version of ruby when trying to deploy the changes; when I run:

   RAILS_ENV=production rake db:migrate

I get:

[ps115786]$ cd /var/www/ata
[ps115786]$ RAILS_ENV=production rake db:migrate
/home/ataventures/.gems/gems/haml-4.0.4/lib/haml/parser.rb:86: warning: regexp has invalid interval
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
/var/www/ata/config/initializers/session_store.rb:3: syntax error, unexpected ':', expecting $end
...sion_store :cookie_store, key: '_ataventues_session'
                              ^

Tasks: TOP => db:migrate => environment
(See full trace by running task with –trace)

It’s acting as if ruby 1.8 is trying to execute the code?!

Yet all I can see in the path are 1.9.3 rubies

[ps115786]$ type -a ruby
ruby is /usr/bin/ruby
ruby is /usr/bin/X11/ruby
[ps115786]$ /usr/bin/ruby -v
ruby 1.9.3p194 (2012-04-20) [x86_64-linux]
[ps115786]$ /usr/bin/X11/ruby -v
ruby 1.9.3p194 (2012-04-20) [x86_64-linux]

There is a strange 1.8 gems directory in the PATH

[ps115786]$ echo $PATH
/home/ataventures/.gems/bin:/usr/lib/ruby/gems/1.8/bin/:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games

I get the same results if I remove /usr/lib/ruby/gems/1.8/bin/ from the path.

I’ve never seen anything like this… I’m hoping this is something someone has run across and can tell me what I’m doing wrong.