[MacRuby-devel] [MacRuby] #467: macrubyc generate binary that does not work using File.dirname
MacRuby
ruby-noreply at macosforge.org
Sun Nov 29 20:47:02 PST 2009
#467: macrubyc generate binary that does not work using File.dirname
-------------------------------------+--------------------------------------
Reporter: jordan.breeding@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
-------------------------------------+--------------------------------------
During the investigation for #424 I decide to try compiling my main script
using macrubyc, unfortunately it didn't work at all.
I narrowed the initial failure to compiler (since I don't know if there
will be other problems later) to:
{{{
#!/usr/bin/env macruby
$:.unshift(File.dirname($0))
}}}
It results in this error:
{{{
154 jordan at thetourist ~/Tests/priority_queue_bug > ./test
core:in `dirname:': can't convert false into String (TypeError)
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/467>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list