Deploying Sinatra with Passenger on Dreamhost

If the following is true:

  1. You want to deploy a Sinatra application with Passenger on Dreamhost
  2. You’re using a Dreamhost shared hosting account
  3. You’re application relies on gems that aren’t installed globally on Dreamhost
  4. You’ve got the gems you need installed locally like this

Then you’ll want to include something like this in your rackup file:

This will make sure your locally installed gems will be available to your application. Maybe my google skills are getting rusty, but it took me a while to find this solution. Here’s the original source.

This entry was posted on Monday, June 29th, 2009 at 3:07 pm and is filed under Dreamhost, Passenger, Ruby, Sinatra. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply