ruby redis client scan not working using 3.0.7

I have upgraded my ruby redis client to 3.0.7. Then this method worked on my localhost [5] pry(main)> $redis.scan(0, :match => "restrict*") [ [0] "5", [1] [ [0] "restrict_3",...