]> git.openstreetmap.org Git - rails.git/blobdiff - config.ru
Merge pull request #5303 from tomhughes/remember-me
[rails.git] / config.ru
index bd83b25412305f93fdb0a892aded30e5178899ba..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.
 
 # 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
 run Rails.application
+Rails.application.load_server