Rails 3 on dreamhost?

2020-05-19 04:21发布

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?

8条回答
对你真心纯属浪费
2楼-- · 2020-05-19 04:59

The dreamhost machine I have allocated space on, pisces, appears to have upgraded to Rails 3.0.3 yesterday. I only noticed because a Redmine instance broke horribly :(

查看更多
Deceive 欺骗
3楼-- · 2020-05-19 04:59

From Passenger documentation: http://www.modrails.com/documentation/Users%20guide%20Apache.html#bundler_support

Create a file config/setup_load_paths.rb in your app and add this line:

$: << "<path-where-bundler-gem-was-installed>/lib"

I unpacked bundler gem in vendor/bundle path with this command:

gem unpack bundler --target=vendor/bundle

And the others gems with:

bundle install --deployment

This should work with Dreamhost and Passenger >= 2.2.14

查看更多
登录 后发表回答