Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

MemcacheSniffer error on load #7

Closed
chrisduffin opened this issue Dec 14, 2012 · 2 comments
Closed

MemcacheSniffer error on load #7

chrisduffin opened this issue Dec 14, 2012 · 2 comments
Labels

Comments

@chrisduffin
Copy link

I'm sure there's something obvious I'm missing, but I'm not overly familiar with Ruby so excuse if it's something obvious.

When trying to run sudo mctop -i eth1 , I got the following error:

/var/lib/gems/1.8/gems/mctop-0.0.3/bin/../lib/sniffer.rb:16:in initialize': uninitialized constant MemcacheSniffer::Mutex (NameError) from /var/lib/gems/1.8/gems/mctop-0.0.3/bin/mctop:16:innew'
from /var/lib/gems/1.8/gems/mctop-0.0.3/bin/mctop:16
from /usr/local/bin/mctop:19:in `load'
from /usr/local/bin/mctop:19

@ickymettle
Copy link
Contributor

Hi Chris,

I'd written this against ruby 1.9.2 and hadn't done any testing against ruby 1.8.x - this morning I pushed a bunch of compatibility fixes to master which should allow mctop to work correctly under ruby 1.8.x

I've also pushed a new version to rubygems (0.0.4) which contains the fixes also, let me know if this fixes your problems - i'll keep this issue open until you've confirmed.

Thanks!

@chrisduffin
Copy link
Author

Yep, works perfectly now.

Thanks a lot, much appreciated!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants