lib/templates/new_blog/config.ru.tt in schnitzelpress-0.1.1 vs lib/templates/new_blog/config.ru.tt in schnitzelpress-0.2.0
- old
+ new
@@ -1,18 +1,7 @@
-$stdout.sync = true
-require File.expand_path("../app.rb", __FILE__)
+# encoding: UTF-8
+require 'rubygems'
+require 'bundler'
+Bundler.require
-# Add some caching. This is designed to work out of the box
-# on Heroku, but feel free to change this if eg. you'd prefer
-# to use Memcache.
-#
-if SchnitzelPress.env.production?
- use Rack::Cache, {
- :verbose => true,
- :metastore => URI.encode("file:/tmp/cache/meta"),
- :entitystore => URI.encode("file:/tmp/cache/body")
- }
-end
-
-# Run the app, with support for files in ./public/
-#
-run App.with_local_files
+$stdout.sync = true
+run Schnitzelpress.omnomnom!