[MacRuby-devel] [MacRuby] #416: DRB does not work with MacRuby 5.0
MacRuby
ruby-noreply at macosforge.org
Sun Nov 1 12:21:19 PST 2009
#416: DRB does not work with MacRuby 5.0
------------------------------+---------------------------------------------
Reporter: gaz@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords: drb
------------------------------+---------------------------------------------
Comment(by lsansonetti@…):
Reduction 1:
{{{
$ macruby -r drb -e "p DRb::DRbProtocol.open('hey', {})"
core:in `open:': can't convert NSMutableDictionary into String (TypeError)
from -e:1:in `<main>'
}}}
In this case, it seems that we call Kernel#open directly and not
DRbProtocol#open.
Reduction 2:
{{{
$ macruby -e "module X; def open(a); p a; end; module_function :open; end;
X.open('hey')"
core:in `open:': No such file or directory - open() failed (Errno::ENOENT)
from -e:1:in `<main>'
}}}
This looks like the same bug as described in #396.
--
Ticket URL: <http://www.macruby.org/trac/ticket/416#comment:2>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list