Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'rubygems'
- require File.join(File.dirname(__FILE__), "bin", "common")
- require 'merb-core'
- Merb.start(:merb_root => File.expand_path(File.dirname(__FILE__)),
- :environment => ENV['RACK_ENV'])
- # whatever would normally go in rack.rb
- if prefix = ::Merb::Config[:path_prefix]
- use Merb::Rack::PathPrefix, prefix
- end
- use Merb::Rack::Static, Merb.dir_for(:public)
- run Merb::Rack::Application.new
Add Comment
Please, Sign In to add comment