#467: macrubyc generate binary that does not work using File.dirname
-------------------------------------+--------------------------------------
Reporter: jordan.breed...@… | Owner: lsansone...@…
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 jor...@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/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel