Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
You should probably use Heroku instead..
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gemified some more fixes
capinatra.gemspec Update for compatibility with most recent version of Sinatra. Legacy

Hey, you should probably just use Heroku.


Helpers for deploying Sinatra apps on Passenger.


In your Sinatra app's project root, run:

$ capinatra

This will generate a Capfile for you. After filling in the appropriate details, you can generate an apache virtual host by running:

$ cap capinatra:vhost

You can also choose to copy the Rack configuration template to your directory by running:

$ cap capinatra:copy_config

This is useful if you want to override the defaults we've set for you. This copied file will take precedence over the Capinatra-supplied template.

Then it's the usual drill:

$ cap deploy:setup
$ cap deploy

(c) Copyright 2008 Pat Nakajima. All Rights Reserved.

Something went wrong with that request. Please try again.