make Redis a softer dependency

(closes foodcoops#288)
This commit is contained in:
wvengen 2014-05-31 14:20:45 +02:00
parent 2a6e0e0460
commit 99301a0576
5 changed files with 17 additions and 10 deletions

View file

@ -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

View file

@ -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

View file

@ -1 +0,0 @@
Resque.inline = Rails.env.test?