Created
August 19, 2011 05:22
-
-
Save taybenlor/1156110 to your computer and use it in GitHub Desktop.
Sinatra with 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
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