Permalink
Browse files

Add some useful comments to rackup config

  • Loading branch information...
1 parent 8b93351 commit f7d08acd5e0650658383e3d3f86d6ff5b49e9030 @josh josh committed Jul 16, 2008
Showing with 14 additions and 0 deletions.
  1. +14 −0 railties/config.ru
View
@@ -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.