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

Joe Van Dyk joe at pinkpucker.net
Wed Nov 18 14:12:53 EST 2009


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


More information about the rspec-users mailing list