aboutsummaryrefslogtreecommitdiffstats
path: root/railties/dispatches
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2008-12-01 12:21:18 -0600
committerJoshua Peek <josh@joshpeek.com>2008-12-01 12:21:18 -0600
commit61958032d3dbb8da8363d02ccda8933b99421fb1 (patch)
treedd52b4c4c42ce50f000457f721879abafe67b1c7 /railties/dispatches
parent725928854d4b6ff5dbafc2bbc95cfade243411a9 (diff)
downloadrails-61958032d3dbb8da8363d02ccda8933b99421fb1.tar.gz
rails-61958032d3dbb8da8363d02ccda8933b99421fb1.tar.bz2
rails-61958032d3dbb8da8363d02ccda8933b99421fb1.zip
Generate rackup dispatcher with rails:update:generate_dispatchers
Diffstat (limited to 'railties/dispatches')
-rw-r--r--railties/dispatches/config.ru7
1 files changed, 7 insertions, 0 deletions
diff --git a/railties/dispatches/config.ru b/railties/dispatches/config.ru
new file mode 100644
index 0000000000..acbfe4e9ae
--- /dev/null
+++ b/railties/dispatches/config.ru
@@ -0,0 +1,7 @@
+# Rack Dispatcher
+
+# Require your environment file to bootstrap Rails
+require File.dirname(__FILE__) + '/config/environment'
+
+# Dispatch the request
+run ActionController::Dispatcher.new