Created
February 19, 2009 23:41
-
-
Save cawel/67192 to your computer and use it in GitHub Desktop.
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
#!/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