Parent

Class/Module Index [+]

Quicksearch

PhusionPassenger::NativeSupportLoader

Public Class Methods

supported?() click to toggle source
# File lib/phusion_passenger/native_support.rb, line 27
def self.supported?
        return !defined?(RUBY_ENGINE) || RUBY_ENGINE == "ruby" || RUBY_ENGINE == "rbx"
end

Public Instance Methods

start() click to toggle source
# File lib/phusion_passenger/native_support.rb, line 43
def start
        try_load || download_binary_and_load || compile_and_load
end
try_load() click to toggle source
# File lib/phusion_passenger/native_support.rb, line 31
def try_load
        if defined?(NativeSupport)
                return true
        else
                require 'phusion_passenger'
                load_from_native_support_output_dir ||
                load_from_source_root ||
                load_from_load_path ||
                load_from_home_dir
        end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.