Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (10 sloc) 437 Bytes
# Asset pipeline for Rails 2, must be removed on rails 3
# we need to protect against multiple includes of the Rails environment (trust me)
require './config/environment' if !defined?(Rails) || !Rails.initialized?
Rails2AssetPipeline.config_ru(self)
map '/' do
use Rails::Rack::LogTailer unless Rails.env.test?
# use Rails::Rack::Debugger unless Rails.env.test?
use Rails::Rack::Static
run ActionController::Dispatcher.new
end