use global variable for Redis instance instead (support Ruby 2.0)