to ensure that redis is running while running rake, unicorn, console
minor modification in establish_redis_connection