Skip to content

Instantly share code, notes, and snippets.

Created February 20, 2009 00:14
Show Gist options
  • Save anonymous/67206 to your computer and use it in GitHub Desktop.
Save anonymous/67206 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
%w(rubygems thin sinatra).each { |l| require(l) }
post(/.*/) { `rake deploy:stage` }
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