Rails cache needs to reconnect - Fixes error with Spork / Guard

This commit is contained in:
Robin Ward 2013-02-08 12:52:23 -05:00
parent e96bd8fd01
commit 3ccfa645a8
1 changed files with 1 additions and 0 deletions

View File

@ -89,6 +89,7 @@ Spork.each_run do
# This code will be run each time you run your specs.
$redis.client.reconnect
MessageBus.reliable_pub_sub.pub_redis.client.reconnect
Rails.cache.reconnect
end
# --- Instructions ---