environment.rb puts 'top' RAILS_GEM_VERSION = '1.1.4' require File.join(File.dirname(__FILE__), 'boot') puts 'here' Rails::Initializer.run do |config| end puts 'end' puts 'bottom' plugin: class Foobar puts 'called' end stdout: ** Starting Mongrel listening at 0.0.0.0:3060 ** Starting Rails with development environment ... top here called end bottom