[MacRuby] #1432: macruby fails with error "JSON::Ext::Generator::GeneratorMethods::Object:Class is not a module" while using cucumber 1.1.4

MacRuby ruby-noreply at macosforge.org
Fri Dec 23 16:06:54 PST 2011


#1432: macruby fails with error
"JSON::Ext::Generator::GeneratorMethods::Object:Class is not a module"
while using cucumber 1.1.4
---------------------------------------+------------------------------------
 Reporter:  matthieu.desile@…          |       Owner:  lsansonetti@…        
     Type:  defect                     |      Status:  new                  
 Priority:  major                      |   Milestone:                       
Component:  MacRuby                    |    Keywords:                       
---------------------------------------+------------------------------------
 Hello,

 I tried using cucumber with macruby and it fails to run with error
 "JSON::Ext::Generator::GeneratorMethods::Object:Class is not a module"

 I installed the latest (1.1.4) cucumber gem version and when I run it on a
 simple feature, it fails.

 Complete error message :
 $ macruby_select 0.12 -S cucumber  simple.feature
 /Volumes/Users/furai/.gem/macruby/1.9.2/gems/cucumber-1.1.4/lib/cucumber.rb:10:in
 `<main>': JSON::Ext::Generator::GeneratorMethods::Object:Class is not a
 module (TypeError)
         from
 /Volumes/Users/furai/.gem/macruby/1.9.2/gems/cucumber-1.1.4/bin/cucumber:11:in
 `<main>'
         from /Volumes/Users/furai/.gem/macruby/1.9.2/bin/cucumber:19:in
 `<main>'

 It fails the same using macruby 0.9, 0.10, 0.11 and nightly build, it
 fails with cucumber version 1.0.0 to 1.1.4.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1432>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list