[rspec-users] undefined method `register' for Polyglot:Module

Joe Van Dyk joe at pinkpucker.net
Wed Nov 18 14:20:36 EST 2009


Oh, hm.  Looks like there's a lot of projects with the name 'polyglot'.  Hm.

On Wed, Nov 18, 2009 at 11:12 AM, Joe Van Dyk <joe at pinkpucker.net> wrote:
> Getting this error.  I have the treetop, polyglot, and rspec libraries
> in the load_path (not installed as a gem).  Any ideas?  What defines
> the register method?
>
> /home/jvandyk/dev/web/wpn_rails/../../rcommon/lib/test/treetop/lib/treetop.rb:16:
> undefined method `register' for Polyglot:Module (NoMethodError)
>        from /home/jvandyk/dev/rcommon/lib/test/cucumber/bin/../lib/cucumber/parser/treetop_ext.rb:2:in
> `require'
>        from /home/jvandyk/dev/rcommon/lib/test/cucumber/bin/../lib/cucumber/parser/treetop_ext.rb:2
>        from /home/jvandyk/dev/rcommon/lib/test/cucumber/bin/../lib/cucumber/parser.rb:4:in
> `require'
>        from /home/jvandyk/dev/rcommon/lib/test/cucumber/bin/../lib/cucumber/parser.rb:4
>        from /home/jvandyk/dev/rcommon/lib/test/cucumber/bin/../lib/cucumber.rb:6:in
> `require'
>        from /home/jvandyk/dev/rcommon/lib/test/cucumber/bin/../lib/cucumber.rb:6
>
>
> --
> Joe Van Dyk
> http://fixieconsulting.com
>



-- 
Joe Van Dyk
http://fixieconsulting.com


More information about the rspec-users mailing list