Skip to content

Commit

Permalink
Merge commit 'sd/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
FooBarWidget committed Jan 29, 2009
2 parents b1d9971 + 60641b7 commit ae6c3e2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/passenger/railz/application_spawner.rb
Expand Up @@ -148,7 +148,12 @@ def spawn_application!
lower_privilege('config/environment.rb', @lowest_user)
end
remove_phusion_passenger_namespace
require 'config/environment'

# require Rails' environment, using the same path as the original rails dispatcher,
# which normally does: require File.dirname(__FILE__) + "/../config/environment"
# thus avoiding the possibility of including the same file twice.
require 'public/../config/environment'

require 'dispatcher'
end
if success
Expand Down

0 comments on commit ae6c3e2

Please sign in to comment.