Class: PhusionPassenger::NativeSupportLoader
- Inherits:
-
Object
- Object
- PhusionPassenger::NativeSupportLoader
- Defined in:
- lib/phusion_passenger/native_support.rb
Instance Method Summary (collapse)
Instance Method Details
- (Object) start
31 32 33 34 35 36 37 |
# File 'lib/phusion_passenger/native_support.rb', line 31 def start require 'phusion_passenger' load_from_source_dir || load_from_load_path || load_from_home || compile_and_load end |
- (Boolean) supported?
27 28 29 |
# File 'lib/phusion_passenger/native_support.rb', line 27 def supported? return !defined?(RUBY_ENGINE) || RUBY_ENGINE == "ruby" || RUBY_ENGINE == "rbx" end |