-
-
Save brandonhilkert/4166536 to your computer and use it in GitHub Desktop.
Siantra gzip on Heroku Cedar stack
This file contains 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
require 'sinatra/base' | |
class Application < Sinatra::Base | |
configure do | |
use Rack::Deflater | |
end | |
get '/' do | |
'Hello World!' | |
end | |
end |
This file contains 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
require 'bundler/setup' | |
$LOAD_PATH.unshift(File.dirname(__FILE__)) | |
require 'application' | |
run Application |
This file contains 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
source :rubygems | |
gem 'sinatra' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment