[MacRuby-devel] [MacRuby] #148: Trying to load the JSON library crashes
MacRuby
ruby-noreply at macosforge.org
Sun Oct 26 13:46:30 PDT 2008
#148: Trying to load the JSON library crashes
---------------------------------------+------------------------------------
Reporter: wootest+macruby at gmail.com | Owner: lsansonetti at apple.com
Type: defect | Status: new
Priority: major | Milestone:
Component: MacRuby | Keywords:
---------------------------------------+------------------------------------
Steps to reproduce:
1. In any .rb file in any MacRuby project, try to load the Ruby standard
JSON library with "require 'json'".
Notes:[[BR]]
This happens in both 0.3 and the testing branch as of r671.
Results:
{{{
2008-10-26 21:39:57.735 testmacruby[30789:10b] *** +[JSON
module_function]: unrecognized selector sent to class 0x93effb0
/Library/Frameworks/MacRuby.framework/Versions/0.3/usr/lib/ruby/1.9.0/json/common.rb:106:in
`module_function': NSInvalidArgumentException: *** +[JSON
module_function]: unrecognized selector sent to class 0x93effb0
(RuntimeError)
from
/Library/Frameworks/MacRuby.framework/Versions/0.3/usr/lib/ruby/1.9.0/json/common.rb:106:in
`<module:JSON>'
from
/Library/Frameworks/MacRuby.framework/Versions/0.3/usr/lib/ruby/1.9.0/json/common.rb:3:in
`<top (required)>'
from
/Library/Frameworks/MacRuby.framework/Versions/0.3/usr/lib/ruby/1.9.0/json.rb:1:in
`require'
from
/Library/Frameworks/MacRuby.framework/Versions/0.3/usr/lib/ruby/1.9.0/json.rb:1:in
`<top (required)>'
from
/Users/jesper/Desktop/testmacruby/build/Debug/testmacruby.app/Contents/Resources/rb_main.rb:13:in
`require'
from
/Users/jesper/Desktop/testmacruby/build/Debug/testmacruby.app/Contents/Resources/rb_main.rb:13:in
`<main>'
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/148>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list