报错如下:
/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