[MacRuby] #888: Compiled MacRuby can't read the DATA const for the text after __END__ in the source
MacRuby
ruby-noreply at macosforge.org
Thu Sep 9 03:17:04 PDT 2010
#888: Compiled MacRuby can't read the DATA const for the text after __END__ in
the source
---------------------------------+------------------------------------------
Reporter: dev@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: major | Milestone: MacRuby 0.7
Component: MacRuby | Keywords:
---------------------------------+------------------------------------------
{{{
$ cat foo.rb
#!/usr/bin/env macruby
puts DATA.read
__END__
lolcats
$ macruby foo.rb
lolcats
$ macrubyc foo.rb -o foo
$ ./foo
uninitialized constant DATA (NameError)
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/888>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list