Guest User

Untitled

a guest
Feb 21st, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. # config.ru
  2. # This is a simple config.ru file for running a Merb app with Passenger at DreamHost
  3. # It should be installed in the root directory of your Merb app
  4. # It has been tested with Merb 1.0.6.1 and Ruby 1.8.7
  5.  
  6. ENV['GEM_PATH'] = '/home/username/.gem/' # your local gem home
  7.  
  8. require 'rubygems'
  9. require 'merb-core'
  10.  
  11. Merb::Config.setup(:merb_root => ".",
  12. :environment => ENV['RACK_ENV'])
  13. Merb.environment = Merb::Config[:environment]
  14. Merb.root = Merb::Config[:merb_root]
  15. Merb::BootLoader.run
  16.  
  17. run Merb::Rack::Application.new
Add Comment
Please, Sign In to add comment