Error while creating Redis cluster on RHEL 6.5

51 views
Skip to first unread message

vincent...@gmail.com

unread,
Jul 29, 2015, 8:27:49 AM7/29/15
to Redis DB
Hi
 
I am new to the Redis world. We were able able install Redis in standalone mode and all went fine. However, while trying to create cluster we are getting issues as highlighted below.
 
./redis-trib.rb create --replicas 1 127.0.0.1:7001 127.0.0.1:7002 127.0.0.1:7003 127.0.0.1:7004 127.0.0.1:7005 127.0.0.1:7006
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- redis (LoadError)
from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from ./redis-trib.rb:25
 
--OS
Red Hat Enterprise Linux Server release 6.5 (Santiago)
--ruby -v
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
--rpm -qa | grep -i gems
rubygems-devel-1.3
 
Also, following command returns error
gem install redis
ERROR: http://rubygems.org/ does not appear to be a repository
ERROR: Could not find a valid gem 'redis' (>= 0) in any repository
 
As per Linux team, this requires internet access. I am not too convinced with this as most of the LIVE boxes will not have internet access, so there should be a way out.
 
Could you please help? Thanks in advance
 
 
Thanks,
Vincent
 
Reply all
Reply to author
Forward
0 new messages