Skip to content

Instantly share code, notes, and snippets.

@macek macek/Gemfile
Created Nov 16, 2010

Embed
What would you like to do?
Quick Sinatra App on Heroku
# config.ru
require 'init'
run Sinatra::Application
source 'http://rubygems.org'
gem "sinatra"
# init.rb
require "rubygems"
require "sinatra"
get '/' do
File.read(File.join('public', 'index.html'))
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.