StackOverFlow India1 StackOverFlow India1 - 8 months ago 26
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


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