Skip to content

Commit

Permalink
Add some useful comments to rackup config
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Jul 16, 2008
1 parent 8b93351 commit f7d08ac
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions railties/config.ru
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# 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

0 comments on commit f7d08ac

Please sign in to comment.