diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-07-15 23:32:31 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-07-15 23:32:31 -0500 |
commit | f7d08acd5e0650658383e3d3f86d6ff5b49e9030 (patch) | |
tree | 95f8899cf0719c2dd94fbe33b48fa960684a1b7c /railties | |
parent | 8b933517ea750e400f0c7dea29c06de0915cd726 (diff) | |
download | rails-f7d08acd5e0650658383e3d3f86d6ff5b49e9030.tar.gz rails-f7d08acd5e0650658383e3d3f86d6ff5b49e9030.tar.bz2 rails-f7d08acd5e0650658383e3d3f86d6ff5b49e9030.zip |
Add some useful comments to rackup config
Diffstat (limited to 'railties')
-rw-r--r-- | railties/config.ru | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/railties/config.ru b/railties/config.ru index 1b9aec18b2..43492a2dcc 100644 --- a/railties/config.ru +++ b/railties/config.ru @@ -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 |