Joe Van Dyk
2009-Nov-18 19:12 UTC
[rspec-users] undefined method `register'' for Polyglot:Module
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
2009-Nov-18 19:20 UTC
[rspec-users] undefined method `register'' for Polyglot:Module
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