require File.join(File.dirname(__FILE__), 'boot') Rails::Initializer.run do |config| config.cache_classes = false config.whiny_nils = true config.action_controller.session = { :key => "_myapp_session", :secret => "some very long and secret phrase" } config.plugin_locators.unshift( Class.new(Rails::Plugin::Locator) do def plugins [Rails::Plugin.new(File.expand_path('.'))] end end ) unless defined?(PluginTestHelper::PluginLocator) end