Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (10 sloc) 410 Bytes
require 'rubygems'
Gem.clear_paths
$BUNDLE = true
Gem.path.unshift(File.expand_path(File.join(File.dirname(__FILE__), 'gems')) )
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