Created
February 12, 2012 23:08
-
-
Save danielpcox/1811532 to your computer and use it in GitHub Desktop.
A minimal Sinatra app deployable to Heroku.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require './myapp.rb' | |
| run Sinatra::Application |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| source :rubygems | |
| gem "sinatra" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| GEM | |
| remote: http://rubygems.org/ | |
| specs: | |
| rack (1.4.1) | |
| rack-protection (1.2.0) | |
| rack | |
| sinatra (1.3.2) | |
| rack (~> 1.3, >= 1.3.6) | |
| rack-protection (~> 1.2) | |
| tilt (~> 1.3, >= 1.3.3) | |
| tilt (1.3.3) | |
| PLATFORMS | |
| ruby | |
| DEPENDENCIES | |
| sinatra |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'sinatra' | |
| get '/' do | |
| 'Hello World!' | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment