Skip to content

Instantly share code, notes, and snippets.

View johnl's full-sized avatar

John Leach johnl

View GitHub Profile
@johnl
johnl / config.ru
Last active June 17, 2016 10:20 — forked from damien/config.ru
A simple rack middleware to debug the request pipeline
# Usage example
require "inspect_env"
use InspectEnv
run GenericSinatraApp
def method_in_deploy
puts "METHOD IN DEPLOY"
end
task :task_in_deploy do
puts "TASK IN DEPLOY"
end
task :do_before do
puts "BEFORE"