Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
rubygem-passenger
passenger-4.0.50_load_system_passenger_libs.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File passenger-4.0.50_load_system_passenger_libs.patch of Package rubygem-passenger
Index: helper-scripts/meteor-loader.rb =================================================================== --- helper-scripts/meteor-loader.rb.orig +++ helper-scripts/meteor-loader.rb @@ -55,7 +55,7 @@ module PhusionPassenger end def self.init_passenger - require "#{options["ruby_libdir"]}/phusion_passenger" + require "phusion_passenger" PhusionPassenger.locate_directories(options["passenger_root"]) PhusionPassenger.require_passenger_lib 'message_channel' PhusionPassenger.require_passenger_lib 'utils/tmpio' Index: helper-scripts/rack-loader.rb =================================================================== --- helper-scripts/rack-loader.rb.orig +++ helper-scripts/rack-loader.rb @@ -68,7 +68,7 @@ module PhusionPassenger end def self.init_passenger - require "#{options["ruby_libdir"]}/phusion_passenger" + require "phusion_passenger" PhusionPassenger.locate_directories(options["passenger_root"]) PhusionPassenger.require_passenger_lib 'native_support' PhusionPassenger.require_passenger_lib 'ruby_core_enhancements' Index: helper-scripts/rack-preloader.rb =================================================================== --- helper-scripts/rack-preloader.rb.orig +++ helper-scripts/rack-preloader.rb @@ -70,7 +70,7 @@ module PhusionPassenger end def self.init_passenger - require "#{options["ruby_libdir"]}/phusion_passenger" + require "phusion_passenger" PhusionPassenger.locate_directories(options["passenger_root"]) PhusionPassenger.require_passenger_lib 'native_support' PhusionPassenger.require_passenger_lib 'ruby_core_enhancements' Index: lib/phusion_passenger.rb =================================================================== --- lib/phusion_passenger.rb.orig +++ lib/phusion_passenger.rb @@ -240,7 +240,7 @@ module PhusionPassenger # 2. It is faster than plan require() because it doesn't need to # scan the entire load path. def self.require_passenger_lib(name) - require("#{ruby_libdir}/phusion_passenger/#{name}") + require("phusion_passenger/#{name}") end Index: helper-scripts/crash-watch.rb =================================================================== --- helper-scripts/crash-watch.rb.orig +++ helper-scripts/crash-watch.rb @@ -25,7 +25,7 @@ ruby_libdir = ARGV.shift passenger_root = ARGV.shift -require "#{ruby_libdir}/phusion_passenger" +require "phusion_passenger" PhusionPassenger.locate_directories(passenger_root) PhusionPassenger.require_passenger_lib 'vendor/crash_watch/app'
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor