lib/utopia/setup/config.ru in utopia-0.11.3 vs lib/utopia/setup/config.ru in utopia-0.11.4
- old
+ new
@@ -5,19 +5,18 @@
# It is recommended that you always explicity specify the version of the gem you are using.
gem 'utopia', "= $UTOPIA_VERSION"
require 'utopia/middleware/all'
-# Utopia relies on effectively caching resources:
-gem 'rack-cache'
+# Utopia relies heavily on a local cache:
require 'rack/cache'
if UTOPIA_ENV == :development
use Rack::ShowExceptions
else
use Utopia::Middleware::ExceptionHandler, "/errors/exception"
- # You might want to use the Rack::MailExceptions middleware to get notifications about problems.
+ use Utopia::Middleware::MailExceptions
end
use Rack::ContentLength
use Utopia::Middleware::Logger