Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
rubygem-passenger.1537
passenger-4.0.50_paths.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File passenger-4.0.50_paths.patch of Package rubygem-passenger.1537
Index: passenger-5.0.4/lib/phusion_passenger.rb =================================================================== --- passenger-5.0.4.orig/lib/phusion_passenger.rb +++ passenger-5.0.4/lib/phusion_passenger.rb @@ -110,18 +110,20 @@ module PhusionPassenger instance_variable_set("@#{field}", value) end else + require 'rbconfig' + shared_basedir = File.join(RbConfig::CONFIG['libdir'], 'passenger', VERSION_STRING) source_root = File.dirname(File.dirname(FILE_LOCATION)) @install_spec = source_root @custom_packaged = false - @bin_dir = "#{source_root}/bin".freeze + @bin_dir = "#{shared_basedir}/bin".freeze @support_binaries_dir = "#{source_root}/buildout/support-binaries".freeze @lib_dir = "#{source_root}/buildout".freeze - @helper_scripts_dir = "#{source_root}/helper-scripts".freeze - @resources_dir = "#{source_root}/resources".freeze + @helper_scripts_dir = "#{shared_basedir}/helper-scripts".freeze + @resources_dir = "#{shared_basedir}/resources".freeze @include_dir = "#{source_root}/ext".freeze @doc_dir = "#{source_root}/doc".freeze @ruby_libdir = File.dirname(FILE_LOCATION).freeze - @node_libdir = "#{source_root}/node_lib".freeze + @node_libdir = "#{shared_basedir}/node_lib".freeze @apache2_module_path = "#{source_root}/buildout/apache2/mod_passenger.so".freeze @ruby_extension_source_dir = "#{source_root}/ext/ruby".freeze @nginx_module_source_dir = "#{source_root}/ext/nginx".freeze
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