Skip to content

Instantly share code, notes, and snippets.

@jemmons
Created March 20, 2013 17:36
Show Gist options
  • Save jemmons/5206693 to your computer and use it in GitHub Desktop.
Save jemmons/5206693 to your computer and use it in GitHub Desktop.
Rackup without tabs
require 'bundler/setup'
Bundler.require(:default)
module Fred; module Barny; module Wilma; def self.betty; "hello, bedrock!" end end end end
app = proc do |env| [200, { 'Content-Type' => 'text/html' }, Fred::Barny::Wilma.betty()]; end
run app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment