lib/utopia/setup/config.ru in utopia-0.12.1 vs lib/utopia/setup/config.ru in utopia-0.12.2

- old
+ new

@@ -1,22 +1,19 @@ #!/usr/bin/env rackup UTOPIA_ENV = (ENV['UTOPIA_ENV'] || ENV['RACK_ENV'] || :development).to_sym $LOAD_PATH << File.join(File.dirname(__FILE__), "lib") -# 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 heavily on a local cache: require 'rack/cache' if UTOPIA_ENV == :development use Rack::ShowExceptions else use Utopia::Middleware::ExceptionHandler, "/errors/exception" - use Utopia::Middleware::MailExceptions end use Rack::ContentLength use Utopia::Middleware::Logger @@ -38,10 +35,10 @@ use Rack::Sendfile use Utopia::Middleware::Static if UTOPIA_ENV == :production use Rack::Cache, { - :metastore => "file:#{Utopia::Middleware::default_root("cache/meta")}", + :metastore => "file:#{Utopia::Middleware::default_root("cache/meta")}", :entitystore => "file:#{Utopia::Middleware::default_root("cache/body")}", :verbose => false } end