[MacRuby] #995: NoMethodError for calling super from #initialize on MacRuby, but works fine on CRuby (was: NoMethodError for initialization on MacRuby but works fine on CRuby)

MacRuby ruby-noreply at macosforge.org
Sat Dec 4 08:58:52 PST 2010


#995: NoMethodError for calling super from #initialize on MacRuby, but works fine
on CRuby
------------------------------------+---------------------------------------
 Reporter:  mrada@…                 |        Owner:  lsansonetti@…        
     Type:  defect                  |       Status:  reopened             
 Priority:  blocker                 |    Milestone:  MacRuby 1.0          
Component:  MacRuby                 |   Resolution:                       
 Keywords:  #reduction              |  
------------------------------------+---------------------------------------
Changes (by eloy.de.enige@…):

  * keywords:  => #reduction
  * milestone:  => MacRuby 1.0


Old description:

> When using the jiraSOAP gem (version 0.4.0) and I try to create a new
> JIRA::JIRAService object with #new I always get a NoMethodError on
> MacRuby, but when I run the gem in CRuby the initialization works fine.
>
> The source for the gem is on github at github.com/Marketcircle/jiraSOAP

New description:

 The error will only occur if #initialize takes an argument.

 MRI does not raise an error in this case.

 If #initialize takes no arguments then everything is fine.

--

Comment:

 Screening for 1.0

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/995#comment:5>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list