junegunn / redis-stat

(UNMAINTAINED) A real-time Redis monitoring tool
MIT License
2.03k stars 339 forks source link

how to resolve this problem,please? #36

Closed azhong closed 9 years ago

azhong commented 9 years ago

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:inrequire' from ./redis-stat:4:in `

'

how can I resolve this problem,please?

junegunn commented 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:

azhong commented 9 years ago

Thank you!I did really forgot install redis-stat。 now when I gem list | grep reids-stat,nothing happend,it's blank. why?

azhong commented 9 years ago

add: gem -v : 2.0.14 ruby -v:2.0.0p598 OS: centos 7

junegunn commented 9 years ago

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
azhong commented 9 years ago

1

junegunn commented 9 years ago

What about gem install redis-stat, what does it say?

azhong commented 9 years ago

nothing happened,like gem list | grep redis-stat.

junegunn commented 9 years ago

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?

azhong commented 9 years ago

yes,no message at all.I think gem can not find package of redis-stat.

junegunn commented 9 years ago

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.

https://github.com/junegunn/redis-stat/releases