instiki/vendor/rails/railties/config.ru
Jacques Distler 7600aef48b Upgrade to Rails 2.2.0
As a side benefit, fix an (non-user-visible) bug in display_s5().
Also fixed a bug where removing orphaned pages did not expire cached summary pages.
2008-10-27 01:47:01 -05:00

18 lines
486 B
Ruby

# Rackup Configuration
#
# Start Rails mongrel server with rackup
# $ rackup -p 3000 config.ru
#
# Start server with webrick (or any compatible Rack server) instead
# $ rackup -p 3000 -s webrick config.ru
# Require your environment file to bootstrap Rails
require File.dirname(__FILE__) + '/config/environment'
# Static server middleware
# You can remove this extra check if you use an asset server
use Rails::Rack::Static
# Dispatch the request
run ActionController::Dispatcher.new