Skip to content

Instantly share code, notes, and snippets.

@gerred
Created May 31, 2011 22:26
Show Gist options
  • Save gerred/1001417 to your computer and use it in GitHub Desktop.
Save gerred/1001417 to your computer and use it in GitHub Desktop.
source :gemcutter
gem 'goliath'
require 'goliath'
class Hello < Goliath::API
def response(env)
[200, {}, "Hello, Goliath!"]
end
end
web: bundle exec ruby hello.rb -p $PORT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment