[MacRuby-devel] Custom url scheme

Caio Chassot lists at caiochassot.com
Mon Jan 10 11:59:42 PST 2011


Try installing the latest bridge support.

http://bridgesupport.macosforge.org/trac/wiki/Releases

On 2011-01-10, at 17:18 , Martin Hawkins wrote:
> 
> Now that's interesting - I tried your macirb experiment and get a
> different result:
> martin at polaris:~ macirb
> irb(main):001:0> framework 'Foundation'
> => true
> irb(main):002:0> KInternetEventClass
> NameError: uninitialized constant KInternetEventClass
> 
> irb(main):003:0> framework 'Cocoa'
> => true
> irb(main):004:0> KInternetEventClass
> NameError: uninitialized constant KInternetEventClass
> 
> On Jan 10, 7:06 pm, Caio Chassot <li... at caiochassot.com> wrote:
>> On 2011-01-10, at 16:47 , Martin Hawkins wrote:
>> 
>> 
>> 
>> 
>> Maybe that constant is not there after all?
>> 
>> Try `::KInternetEventClass` to force ruby to search for it in the root namespace.
>> 
>> Are you loading Cocoa in your app?
>> 
>> $ macirb
>> irb(main):001:0> framework 'Foundation'
>> => true
>> irb(main):002:0> KInternetEventClass
>> NameError: uninitialized constant KInternetEventClass
>> 
>> irb(main):003:0> framework 'Cocoa'
>> => true
>> irb(main):004:0> KInternetEventClass
>> => 1196773964
>> 
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-de... at lists.macosforge.orghttp://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel




More information about the MacRuby-devel mailing list