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