Closed azhong closed 9 years ago
I think you forgot to mention how you installed redis-stat. gem install redis-stat
?
Please provide me with the following information:
ruby -v
gem -v
gem list | grep redis-stat
Thank you!I did really forgot install redis-stat。 now when I gem list | grep reids-stat,nothing happend,it's blank. why?
add: gem -v : 2.0.14 ruby -v:2.0.0p598 OS: centos 7
now when I gem list | grep reids-stat,nothing happend,it's blank. why?
Is "reids" a typo?
Please post the exact output of the following commands:
gem install redis-stat
gem list | grep redis-stat
which redis-stat
What about gem install redis-stat
, what does it say?
nothing happened,like gem list | grep redis-stat.
You mean, no message at all when you try gem install
? Then it looks like redis-stat is not properly installed. Have you tried installing it with sudo gem install redis-stat
?
yes,no message at all.I think gem can not find package of redis-stat.
Well, then I can't help you. You'll have to figure out yourself why Rubygems are not working as expected on your system. If you really can't solve the problem, you might want to consider using the JAR distribution.
followed below scripts to install ruby & rubygems:yum install ruby; but when starting redis-stat,error info: /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in'
require': cannot load such file -- redis-stat (LoadError) from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in
require' from ./redis-stat:4:in `how can I resolve this problem,please?