From 0a0fca60b3401d6c2888c98c7ca27b8bcb63d318 Mon Sep 17 00:00:00 2001 From: elijah Date: Mon, 23 Dec 2013 10:32:57 -0800 Subject: hotfix to make webapp work with rack again. --- config.ru | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config.ru') diff --git a/config.ru b/config.ru index 7b4c2bd..5c3a2b2 100644 --- a/config.ru +++ b/config.ru @@ -1,7 +1,8 @@ # This file is used by Rack-based servers to start the application. +require ::File.expand_path('../config/environment', __FILE__) + require 'http_accept_language' use HttpAcceptLanguage::Middleware -require ::File.expand_path('../config/environment', __FILE__) run LeapWeb::Application -- cgit v1.2.3