Skip to content

Instantly share code, notes, and snippets.

@gisthero
Last active December 17, 2015 06:39
Show Gist options
  • Save gisthero/5567481 to your computer and use it in GitHub Desktop.
Save gisthero/5567481 to your computer and use it in GitHub Desktop.
Sinatra on Heroku
require './main-app'
run Sinatra::Application
source 'https://rubygems.org'
gem 'sinatra'
GEM
remote: https://rubygems.org/
specs:
rack (1.5.2)
rack-protection (1.5.0)
rack
sinatra (1.4.2)
rack (~> 1.5, >= 1.5.2)
rack-protection (~> 1.4)
tilt (~> 1.3, >= 1.3.4)
tilt (1.3.7)
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