Skip to content

Instantly share code, notes, and snippets.

@taybenlor
Created August 19, 2011 05:22
Show Gist options
  • Save taybenlor/1156110 to your computer and use it in GitHub Desktop.
Save taybenlor/1156110 to your computer and use it in GitHub Desktop.
Sinatra with Heroku
config.ru
------------------------
require './hello'
run Sinatra::Application
Gemfile
------------------------
source "http://rubygems.org"
gem "rack", "~>1.1"
gem "sinatra"
hello.rb
------------------------
require 'sinatra'
#... your code here
------------------------
$ bundle install
$ git commit -a -m "Trying out bundler"
$ git push heroku
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment