Skip to content

This is a template for sinatra projects with support for rspec2, bundler, rake, webrat and multiple apps

Notifications You must be signed in to change notification settings

pbc/sinatra-rspec-bundler-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

This is a template for sinatra projects with support for rspec2, bundler, rake, webrat and multiple apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published