Skip to content
This repository


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

Octocat-spinner-32 bin
Octocat-spinner-32 lib
Octocat-spinner-32 templates
Octocat-spinner-32 .gemified
Octocat-spinner-32 .manifest
Octocat-spinner-32 capinatra.gemspec

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.