Skip to content

Instantly share code, notes, and snippets.

@iansheridan
Created July 28, 2009 17:06
Show Gist options
  • Save iansheridan/157540 to your computer and use it in GitHub Desktop.
Save iansheridan/157540 to your computer and use it in GitHub Desktop.
# ===========================================================
# as you can see this is the exact copy of What is is the
# Passnger user guide
require 'rubygems'
require 'merb-core'
Merb::Config.setup(
:merb_root => ::File.expand_path(::File.dirname(__FILE__)),
:environment => ENV['RACK_ENV']
)
Merb.environment = Merb::Config[:environment]
Merb.root = Merb::Config[:merb_root]
Merb::BootLoader.run
run Merb::Rack::Application.new
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment