Skip to content

Instantly share code, notes, and snippets.

@danielpcox
Created February 12, 2012 23:08
Show Gist options
  • Save danielpcox/1811532 to your computer and use it in GitHub Desktop.
Save danielpcox/1811532 to your computer and use it in GitHub Desktop.
A minimal Sinatra app deployable to Heroku.
require './myapp.rb'
run Sinatra::Application
source :rubygems
gem "sinatra"
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
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