fixing the heroku version

This commit is contained in:
did 2011-06-28 17:35:25 +02:00
parent e304d5aa98
commit 8c1372afc6
4 changed files with 18 additions and 4 deletions

View File

@ -75,5 +75,3 @@ Locomotive.configure do |config|
# Note: by default, rack/cache is disabled in the Heroku platform
end unless Locomotive.engine? || Rails.env.test?
# Rails.application.middleware.use '::Locomotive::Middlewares::SeoTrailingSlash'

View File

@ -46,7 +46,7 @@ Locomotive.configure do |config|
# configure how many items we display in sub menu in the "Contents" section.
# config.lastest_items_nb = 5
# default locale (for now, only en, de, fr and pt-BR are supported)
# default locale (for now, only en, de, fr, pt-BR and it are supported)
config.default_locale = :en
# tell if logs are enabled. Useful for debug purpose.
@ -60,4 +60,16 @@ Locomotive.configure do |config|
# config.mailer_sender = 'support'
# # => 'support@heroku.com' (Heroku), 'support@bushi.do' (Bushido), 'support@example.com' (Dev) or 'support@<your_hosting_platform>' (Multi-sites)
config.mailer_sender = 'support'
end
# Rack-cache settings, mainly used for the inline resizing image module. Default options:
# config.rack_cache = {
# :verbose => true,
# :metastore => URI.encode("file:#{Rails.root}/tmp/dragonfly/cache/meta"), # URI encoded in case of spaces
# :entitystore => URI.encode("file:#{Rails.root}/tmp/dragonfly/cache/body")
# }
# If you do want to disable it for good, just use the following syntax
# config.rack_cache = false
#
# Note: by default, rack/cache is disabled in the Heroku platform
end

View File

@ -21,6 +21,7 @@ require 'redcloth'
require 'delayed_job_mongoid'
require 'zip/zipfilesystem'
require 'jammit-s3'
require 'dragonfly'
$:.unshift File.dirname(__FILE__)

View File

@ -5,6 +5,9 @@ rescue MissingSourceFile
module Rspec
module Core
class RakeTask
include ::Rake::DSL
def initialize(name)
task name do
# if rspec-rails is a configured gem, this will output helpful material and exit ...