diff --git a/lib/phusion_passenger/railz/application_spawner.rb b/lib/phusion_passenger/railz/application_spawner.rb
index <HASH>..<HASH> 100644
--- a/lib/phusion_passenger/railz/application_spawner.rb
+++ b/lib/phusion_passenger/railz/application_spawner.rb
@@ -321,7 +321,7 @@ private
 		#   isn't copy-on-write friendly.
 		# - Rails >= 2.2 already preloads application sources by default, so no need
 		#   to do that again.
-		if GC.copy_on_write_friendly? && !::Rails::Initializer.respond_to?(:load_application_classes)
+		if GC.copy_on_write_friendly? && !::Rails::Initializer.method_defined?(:load_application_classes)
 			Dir.glob('app/{models,controllers,helpers}/*.rb').each do |file|
 				require_dependency canonicalize_path(file)
 			end
Fix Rails app preloading: load_application_classes is an instance method of Rails::Initializer. Partially fixes issue #<I>.