def preload
Spork.exec_prefork do
unless bootstrapped?
stderr.puts "#{helper_file} has not been bootstrapped. Run spork --bootstrap to do so."
stderr.flush
if framework.bootstrap_required?
stderr.puts "I can't do anything for you by default for the framework your using: #{framework.short_name}.\nYou must bootstrap #{helper_file} to continue."
stderr.flush
return false
else
load(framework.entry_point)
end
end
framework.preload do
if bootstrapped?
stderr.puts "Loading Spork.prefork block..."
stderr.flush
load(helper_file)
end
end
end
true
end