Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NameError: uninitialized constant ZookeeperCommon::QueueWithPipe::Forwardable #22

Closed
pettyjamesm opened this issue Apr 26, 2012 · 2 comments
Assignees

Comments

@pettyjamesm
Copy link

Have to report this issue here, since the slyphon-zookeeper gem doesn't have an issues section. Anything that uses slyphon-zookeeper v 0.8.3, and therefore recent installations of ZK throw this error as soon as you try to "require" them. eg:

baconator@dev:~$ irb
1.9.3-p125 :001 > require 'rubygems'
 => false 
1.9.3-p125 :002 > require 'zookeeper'
NameError: uninitialized constant ZookeeperCommon::QueueWithPipe::Forwardable
    from /home/baconator/.rvm/gems/ruby-1.9.3-p125@rails320/gems/slyphon-zookeeper-0.8.3/lib/zookeeper/common/queue_with_pipe.rb:4:in `<class:QueueWithPipe>'
    from /home/baconator/.rvm/gems/ruby-1.9.3-p125@rails320/gems/slyphon-zookeeper-0.8.3/lib/zookeeper/common/queue_with_pipe.rb:3:in `<module:ZookeeperCommon>'
    from /home/baconator/.rvm/gems/ruby-1.9.3-p125@rails320/gems/slyphon-zookeeper-0.8.3/lib/zookeeper/common/queue_with_pipe.rb:1:in `<top (required)>'
    from /home/baconator/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /home/baconator/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /home/baconator/.rvm/gems/ruby-1.9.3-p125@rails320/gems/slyphon-zookeeper-0.8.3/lib/zookeeper/common.rb:168:in `<top (required)>'
    from /home/baconator/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /home/baconator/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /home/baconator/.rvm/gems/ruby-1.9.3-p125@rails320/gems/slyphon-zookeeper-0.8.3/lib/zookeeper.rb:5:in `<top (required)>'
    from /home/baconator/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in `require'
    from /home/baconator/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in `rescue in require'
    from /home/baconator/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
    from (irb):2
    from /home/baconator/.rvm/rubies/ruby-1.9.3-p125/bin/irb:16:in `<main>'
1.9.3-p125 :003 > 
@slyphon
Copy link
Contributor

slyphon commented Apr 26, 2012

gahhhh, must've forgotten require 'forwardable'

@ghost ghost assigned slyphon Apr 26, 2012
slyphon added a commit to slyphon/zookeeper-fork that referenced this issue Apr 26, 2012
@slyphon
Copy link
Contributor

slyphon commented Apr 26, 2012

fixed in slyphon-zookeeper-0.8.4

@slyphon slyphon closed this as completed Apr 26, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants