fixing the heroku version
This commit is contained in:
parent
e304d5aa98
commit
8c1372afc6
@ -75,5 +75,3 @@ Locomotive.configure do |config|
|
|||||||
# Note: by default, rack/cache is disabled in the Heroku platform
|
# Note: by default, rack/cache is disabled in the Heroku platform
|
||||||
|
|
||||||
end unless Locomotive.engine? || Rails.env.test?
|
end unless Locomotive.engine? || Rails.env.test?
|
||||||
|
|
||||||
# Rails.application.middleware.use '::Locomotive::Middlewares::SeoTrailingSlash'
|
|
||||||
|
@ -46,7 +46,7 @@ Locomotive.configure do |config|
|
|||||||
# configure how many items we display in sub menu in the "Contents" section.
|
# configure how many items we display in sub menu in the "Contents" section.
|
||||||
# config.lastest_items_nb = 5
|
# 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
|
config.default_locale = :en
|
||||||
|
|
||||||
# tell if logs are enabled. Useful for debug purpose.
|
# tell if logs are enabled. Useful for debug purpose.
|
||||||
@ -60,4 +60,16 @@ Locomotive.configure do |config|
|
|||||||
# config.mailer_sender = 'support'
|
# config.mailer_sender = 'support'
|
||||||
# # => 'support@heroku.com' (Heroku), 'support@bushi.do' (Bushido), 'support@example.com' (Dev) or 'support@<your_hosting_platform>' (Multi-sites)
|
# # => 'support@heroku.com' (Heroku), 'support@bushi.do' (Bushido), 'support@example.com' (Dev) or 'support@<your_hosting_platform>' (Multi-sites)
|
||||||
config.mailer_sender = 'support'
|
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
|
@ -21,6 +21,7 @@ require 'redcloth'
|
|||||||
require 'delayed_job_mongoid'
|
require 'delayed_job_mongoid'
|
||||||
require 'zip/zipfilesystem'
|
require 'zip/zipfilesystem'
|
||||||
require 'jammit-s3'
|
require 'jammit-s3'
|
||||||
|
require 'dragonfly'
|
||||||
|
|
||||||
$:.unshift File.dirname(__FILE__)
|
$:.unshift File.dirname(__FILE__)
|
||||||
|
|
||||||
|
@ -5,6 +5,9 @@ rescue MissingSourceFile
|
|||||||
module Rspec
|
module Rspec
|
||||||
module Core
|
module Core
|
||||||
class RakeTask
|
class RakeTask
|
||||||
|
|
||||||
|
include ::Rake::DSL
|
||||||
|
|
||||||
def initialize(name)
|
def initialize(name)
|
||||||
task name do
|
task name do
|
||||||
# if rspec-rails is a configured gem, this will output helpful material and exit ...
|
# if rspec-rails is a configured gem, this will output helpful material and exit ...
|
||||||
|
Loading…
Reference in New Issue
Block a user