-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined method `connect' for Redis:Class #99
Comments
I think this is a version dependency issue. We started seeing this error when we upgraded the |
Hi : Version: Please help me check the problem, thank you. |
Already solved, Redis 4.0.1 downgraded to 3.3.5 |
This error happens with redis gem versions from 4.0 onward. This is caused by the removal of the Redis#connect method, which was deprecated long ago. The fix is to use Redis#new instead, which is a straightforward replacement (#connect was just a wrapper around #new). The commit in redis that removed #connect was redis/redis-rb@895cc32#diff-54fab56a3b12825ac3ed9243b67fd459 That commit is over two years old. It's not acceptable being stuck with such an old redis.rb version. I've added a PR that fixes this. #101 |
Are we still locked to an old version of Redis? |
Hi,
I just installed it with gem, but I've got this after starting with
gem redmon
What am I missing?
Redis server v=3.0.6 sha=00000000:0 malloc=jemalloc-3.6.0 bits=64 build=687a2a319020fa42
Thanks
The text was updated successfully, but these errors were encountered: