Fight With Me!!!

导航

redis-trib.rb报错:/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- redis (LoadError)

报错如下:

/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- redis (LoadError)
    from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /opt/cluster_test/redis-unstable/src/redis-trib.rb:25:in `<main>'

 

发现了篇文章,感谢博主:

https://blog.csdn.net/moxiaomomo/article/details/17540813

需要安装ruby到redis的第三方接口:

 gem install redis

前提你需要安装rubygems

posted on 2018-04-04 11:08  nickTimer  阅读(385)  评论(0编辑  收藏  举报