# File lib/phusion_passenger/config/nginx_engine_compiler.rb, line 101 def after_install super FileUtils.remove_entry_secure(@working_dir) if @owns_working_dir end
# File lib/phusion_passenger/config/nginx_engine_compiler.rb, line 92 def before_install super if !@working_dir @working_dir = PhusionPassenger::Utils.mktmpdir("passenger-install.", PlatformInfo.tmpexedir) @owns_working_dir = true end @nginx_version ||= PREFERRED_NGINX_VERSION end
# File lib/phusion_passenger/config/nginx_engine_compiler.rb, line 44 def dependencies specs = [ 'depcheck_specs/compiler_toolchain', 'depcheck_specs/ruby', 'depcheck_specs/libs', 'depcheck_specs/utilities' ] ids = [ 'cc', 'c++', 'gmake', 'rake', 'openssl-dev', 'zlib-dev', 'pcre-dev' ].compact return [specs, ids] end
# File lib/phusion_passenger/config/nginx_engine_compiler.rb, line 63 def install_doc_url "https://www.phusionpassenger.com/library/install/standalone/" end
# File lib/phusion_passenger/config/nginx_engine_compiler.rb, line 71 def run_steps check_source_code_available! check_precompiled_support_libs_available! if !@force check_whether_os_is_broken check_whether_system_has_enough_ram check_for_download_tool! end check_dependencies(false) || abort puts @destdir = find_or_create_writable_support_binaries_dir! puts "<banner>Installing...</banner>" download_and_extract_nginx_sources determine_support_libraries if PhusionPassenger.build_system_dir compile_support_libraries end configure_and_compile_nginx end
Generated with the Darkfish Rdoc Generator 2.