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 !
Require preinitializer.rb if possible. Fixes bug #19.
Hongli Lai (Phusion) (author)
Wed May 07 05:07:58 -0700 2008
commit  2a67be2fadf412eb5200b6004768d48871b84969
tree    06f342d09e9694aaacad4705c785aeede6f844e4
parent  33200da74ece2fe28bd881e002f72565fd1e687d
...
255
256
257
 
 
 
258
259
260
...
255
256
257
258
259
260
261
262
263
0
@@ -255,6 +255,9 @@ private
0
         alias_method :load_environment, :load_environment_with_passenger
0
       end
0
     end
0
+ if File.exist?('config/preinitializer.rb')
0
+ require 'config/preinitializer'
0
+ end
0
     require 'config/environment'
0
     if ActionController::Base.page_cache_directory.blank?
0
       ActionController::Base.page_cache_directory = "#{RAILS_ROOT}/public"

Comments

    No one has commented yet.