module PhusionPassenger::LoaderSharedHelpers

def after_loading_app_code(options)

before forking a worker process.
This method is to be called after loading the application code but
def after_loading_app_code(options)
	# Post-install framework extensions. Possibly preceded by a call to
	# PhusionPassenger.install_framework_extensions!
	if defined?(::Rails) && !defined?(::Rails::VERSION)
		require 'rails/version'
	end
end