Skip to content

Instantly share code, notes, and snippets.

@cawel
Created February 19, 2009 23:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cawel/67192 to your computer and use it in GitHub Desktop.
Save cawel/67192 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
app = Proc.new do |env|
`rake deploy:stage`
[200, {'Content-type' => 'text/plain'}, "ACK on the commit: thanks!"]
end
require 'rubygems'
require 'thin'
Rack::Handler::Thin.run(app, :Port => 2222)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment