We got nominated! Help us out and vote for GitHub as Best Bootstrapped Startup of 2008. (You can vote once a day.) [ hide ]

public
Description: Phusion Passenger (mod_rails)
Homepage: http://www.modrails.com/
Clone URL: git://github.com/FooBarWidget/passenger.git
Click here to lend your support to: passenger and make a donation at www.pledgie.com !
Fix a problem in the documentation's Merb config.ru snippet. Fixes issue 
#130.
Hongli Lai (Phusion) (author)
Sun Aug 24 04:30:10 -0700 2008
commit  9fb3d7f3b84c122257fc6ff52be07a1cffa0b6b9
tree    2e742d9c48ee15703971f14074b4915594f049ce
parent  8d9de8602ac240258d74101cb0000d099bb8059f
...
472
473
474
475
476
 
 
 
 
477
478
479
...
472
473
474
 
 
475
476
477
478
479
480
481
0
@@ -472,8 +472,10 @@ run Mack::Utils::Server.build_app
0
 require 'rubygems'
0
 require 'merb-core'
0
 
0
-Merb::Config.setup(:merb_root => ".",
0
- :environment => ENV['RACK_ENV'])
0
+Merb::Config.setup(
0
+ :merb_root => File.expand_path(File.dirname(__FILE__)),
0
+ :environment => ENV['RACK_ENV']
0
+)
0
 Merb.environment = Merb::Config[:environment]
0
 Merb.root = Merb::Config[:merb_root]
0
 Merb::BootLoader.run

Comments

    No one has commented yet.