Created
October 4, 2009 15:40
-
-
Save merbjedi/201443 to your computer and use it in GitHub Desktop.
working passenger rackup for merb 1.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
begin | |
require File.join(File.dirname(__FILE__), "gems/environment") | |
rescue LoadError | |
begin | |
require 'minigems' | |
rescue LoadError | |
require 'rubygems' | |
end | |
end | |
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