Created: 2012-03-22 02:47
Updated: 2014-06-06 19:13

Sinatra Bootstrap

Get a skeleton sinatra app up and running before you finish wishing you had an idea


gem install sinatra_bootstrap


Sinatra-only application

take_the_stage sinatra

Wow, that was easy. take_the_stage sinatra will generate a Gemfile specifying only gem 'sinatra', '~> 1.3' as well as a main.rb file to hold your application.

Rack application

take_the_stage sinatra --rackup

The rackup variant will also generate a file suitable for deploying your application on a Rack-based server.

The optional pow variant may be added to generate a tmp/always_restart.txt to configure to restart the server after each request.


take_the_stage heroku

When passed heroku sinatra bootstrap will generate a more complete Gemfile containing thin, heroku, and foreman. It also outputs a simple and Procfile

Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more