make Redis a softer dependency
(closes foodcoops#288)
This commit is contained in:
parent
2a6e0e0460
commit
99301a0576
5 changed files with 17 additions and 10 deletions
|
|
@ -40,4 +40,7 @@ Foodsoft::Application.configure do
|
|||
# Mailcatcher can be installed by gem install mailcatcher
|
||||
config.action_mailer.delivery_method = :smtp
|
||||
config.action_mailer.smtp_settings = { address: "localhost", port: 1025 }
|
||||
|
||||
# Run resque tasks as part of the main app (not recommended for production)
|
||||
Resque.inline = true
|
||||
end
|
||||
|
|
|
|||
|
|
@ -36,4 +36,7 @@ Foodsoft::Application.configure do
|
|||
|
||||
# Print deprecation notices to the stderr.
|
||||
config.active_support.deprecation = :stderr
|
||||
|
||||
# Run resque tasks as part of the main app
|
||||
Resque.inline = true
|
||||
end
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
Resque.inline = Rails.env.test?
|
||||
Loading…
Add table
Add a link
Reference in a new issue