Skip to content

Instantly share code, notes, and snippets.

@tbuehlmann
Created April 26, 2012 09:41
Show Gist options
  • Save tbuehlmann/2498235 to your computer and use it in GitHub Desktop.
Save tbuehlmann/2498235 to your computer and use it in GitHub Desktop.
Siantra gzip on Heroku Cedar stack
require 'sinatra/base'
class Application < Sinatra::Base
configure do
use Rack::Deflater
end
get '/' do
'Hello World!'
end
end
require 'bundler/setup'
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'application'
run Application
source :rubygems
gem 'sinatra'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment