Skip to content

Instantly share code, notes, and snippets.

@danielharan
Forked from anonymous/gist:67206
Created February 20, 2009 00:26
Show Gist options
  • Save danielharan/67209 to your computer and use it in GitHub Desktop.
Save danielharan/67209 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
require 'rubygems'
require 'thin'
require 'sinatra'
post(/.*/) do
`rake deploy:stage`
end
Thin::Server.new("localhost:3000") { run Sinatra::Application }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment