[MacRuby-devel] [MacRuby] #765: framework is not supported in MacRuby static
MacRuby
ruby-noreply at macosforge.org
Tue Jun 29 02:37:10 PDT 2010
#765: framework is not supported in MacRuby static
----------------------------+-----------------------------------------------
Reporter: jazzbox@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: major | Milestone: MacRuby 0.7
Component: MacRuby | Keywords:
----------------------------+-----------------------------------------------
{{{
$ cat test.rb
framework 'Foundation'
p NSGregorianCalendar
}}}
{{{
$ macruby test.rb
"gregorian"
}}}
{{{
$ macrubyc -o test --static test.rb
$ ./test
framework: is not supported in MacRuby static (RuntimeError)
}}}
Commenting out the framework 'Foundation' results in a
{{{
./test.rb:4:in `<main>': uninitialized constant NSGregorianCalendar
(NameError)
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/765>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list