]> git.openstreetmap.org Git - rails.git/blobdiff - config.ru
More readable multi-line ruby in erbs
[rails.git] / config.ru
index 5bc2a619e83ea182b17e2507c5e0f2f07f7cf18c..4a3c09a6889a97a54af8cbcc1a47e03e58cce376 100644 (file)
--- a/config.ru
+++ b/config.ru
@@ -1,4 +1,6 @@
 # This file is used by Rack-based servers to start the application.
 
-require ::File.expand_path('../config/environment',  __FILE__)
+require_relative "config/environment"
+
 run Rails.application
+Rails.application.load_server