Fixes #1882: Rails recipe not idempotent with disabled redis
The not_listening?
is failing to execute if the redis service is not enabled in the configuration. The fix will notify rake cache clear only if the redis is enabled and should_notify?
.