Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
This is a template for sinatra projects with support for rspec2, bundler, rake, webrat and multiple apps
Branch: master
Pull request Compare This branch is 7 commits behind daddz:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
config
lib
spec
.gitignore
.rspec
Gemfile
README.md
Rakefile
config.ru

README.md

sinatra-rspec-bundler-template

Update

  • added Rake support

  • added Webrat support

  • added autotest support

Overview

I needed a template where all the cool "new" stuff is used, like RSpec2, Bundler and additonal support for multiple applications as well as Ruby 1.9.2 compatibility.

So here it is.

Usage

  • clone this repository

  • run bundle install (add other gems you may need to the Gemfile beforehand)

  • run rake spec (just for fun)

  • start building your project

  • modify your app routes in config.ru

  • rackup config.ru to start it

Thanks

I looked at so many different examples from other people to hack this together. Thanks to everyone out there, especially the Padrino team, whose sources were very helpful when I built this.

Something went wrong with that request. Please try again.