Parent

Methods

Class/Module Index [+]

Quicksearch

PhusionPassenger::Config::InstallStandaloneRuntimeCommand

Public Instance Methods

run() click to toggle source
# File lib/phusion_passenger/config/install_standalone_runtime_command.rb, line 39
def run
  @options = {
    :log_level => Logger::INFO,
    :colorize => :auto,
    :force => false,
    :force_tip => true,
    :compile => true,
    :install_agent => true,
    :install_agent_args => [],
    :download_args => [
      "--no-error-colors",
      "--no-compilation-tip"
    ],
    :compile_args => []
  }
  parse_options
  initialize_objects
  sanity_check
  PhusionPassenger::Utils.mktmpdir("passenger-install.", PlatformInfo.tmpexedir) do |tmpdir|
    install_agent(tmpdir)
    if !download_nginx_engine
      compile_nginx_engine(tmpdir)
    end
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.