StackOverFlow India1 StackOverFlow India1 - 2 years ago 95
Ruby Question

Redis Cluster Installation Issue

I am a linux(fedora) user and I installed latest stable version of redis.

I run command

and is working fine.

redis-cli ping
is giving PONG as expected output.

However when i am starting a cluster nothing is working.

./redis-trib.rb create --replicas 1

is given below error

require': cannot load such file -- redis (LoadError) from
require' from ./redis-trib.rb:25:in `'

Please help

Answer Source

I have the same problem and is solved id as below.

cd git clone ~/.rbenv echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc echo 'eval "$(rbenv init
-)"' >> ~/.bashrc exec $SHELL

git clone ~/.rbenv/plugins/ruby-build echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc exec $SHELL

git clone ~/.rbenv/plugins/rbenv-gem-rehash

rbenv install 2.3.0 rbenv global 2.3.0 ruby -v gem install bundler

gem install redis
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download