Re: [MacRuby-devel] ruby gems just for MacRuby

2009-03-09 Thread Dr Nic Williams
cl.com > http://www.cfcl.com/rdm/weblog     +1 650-873-7841 > > Technical editing and writing, programming, and web development > ___ > MacRuby-devel mailing list > MacRuby-devel@lists.macosforge.org > http://lists.macosforge.org/mailm

Re: [MacRuby-devel] ruby gems just for MacRuby

2009-03-09 Thread Dr Nic Williams
I know without doing more investigation. Cheers Nic On Tue, Mar 10, 2009 at 8:43 AM, Matt Aimonetti wrote: > Nic, > >  Any suggestions to deal with macruby only gems? I don't think macruby can > be considered a platform so any suggestions? > > - Matt > > On Mon, Mar

Re: [MacRuby-devel] ruby gems just for MacRuby

2009-03-09 Thread Dr Nic Williams
at the next generation Macs will be on XYZ processor (because he got a better profit margin from them). Processor type isn't sacred afaik. Nic -- Dr Nic Williams iPhone and Rails consultants - http://mocra.com Fun with iPhone/Ruby/Rails/Javascript - http://drnicwilliams.com * Surf Report f

Re: [MacRuby-devel] [ANN] MacRuby 0.4

2009-03-09 Thread Dr Nic Williams
gt; http://www.macruby.org/post/macruby-04 > > Enjoy, > > Laurent > ___ > MacRuby-devel mailing list > MacRuby-devel@lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > -- Dr Nic Williams

Re: [MacRuby-devel] Who wants to install gems anyways?! Introducing MicroGem

2009-02-09 Thread Dr Nic Williams
gt; MacRuby-devel mailing list >> MacRuby-devel@lists.macosforge.org >> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > > _______ > MacRuby-devel mailing list > MacRuby-devel@lists.macosforge.org > http://lists.macosforge

Re: [MacRuby-devel] hotcocoa - can't find executable...how to find it

2009-01-30 Thread Dr Nic Williams
her. > Tim > > ___________ > MacRuby-devel mailing list > MacRuby-devel@lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > > -- Dr Nic Williams iPhone and Rails consultants - http://mocra.com Fun with iP

Re: [MacRuby-devel] [MacRuby] #217: Pretty-Preeze wizard me up a Tiger version

2009-01-26 Thread Dr Nic Williams
I think MacRuby depends on the GC in ObjC 2.0 which came with Leopard. Cheers Nic Mocra - http://mocra.com Blog - http://drnicwilliams.com On 27/01/2009, at 7:52 AM, "MacRuby" wrote: #217: Pretty-Preeze wizard me up a Tiger version +--

Re: [MacRuby-devel] Distributing apps with MacRuby.framework

2009-01-25 Thread Dr Nic Williams
s/Current/usr/lib/ruby/1.9.0') > > Eloy > > On Jan 23, 2009, at 12:04 PM, Dr Nic Williams wrote: > >> To fix up the $LOAD_PATH, I added the following to my rb_main.rb >> before "require 'hotcocoa'": >> >> local_path = $LOAD_PATH.find {|path|

Re: [MacRuby-devel] Distributing apps with MacRuby.framework

2009-01-23 Thread Dr Nic Williams
path =~ %r{/Library/Frameworks/MacRuby} } local_library_paths = library_paths.map { |path| path.gsub(%r{/Library/}, base_local_path) } local_library_paths.reverse.each { |path| $:.unshift path } $:.unshift(local_path) Nic On Fri, Jan 23, 2009 at 8:39 PM, Dr Nic Williams wrote: > Matt, can you creat

Re: [MacRuby-devel] Distributing apps with MacRuby.framework

2009-01-23 Thread Dr Nic Williams
ng with your /System > folder or getting copied into your app every time you build). > > m/ > > -- > Matt Mower :: http://mattmower.com/ > ___ > MacRuby-devel mailing list > MacRuby-devel@lists.macosforge.org > http://lists.ma

Re: [MacRuby-devel] Distributing apps with MacRuby.framework

2009-01-23 Thread Dr Nic Williams
ibrary/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.0", "/Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.0/universal-darwin9.1", "."] On Fri, Jan 23, 2009 at 8:03 PM, Dr Nic Williams wrote: > Thanks for the new idea; though I'm getti

Re: [MacRuby-devel] Distributing apps with MacRuby.framework

2009-01-23 Thread Dr Nic Williams
ework/Versions/0.4/usr/lib/libmacruby.dylib > @executable_path/../Frameworks/MacRuby.framework/Versions/0.4/usr/lib/libmacruby.dylib > "$TARGET_BUILD_DIR/$EXECUTABLE_PATH" > > > On Jan 22, 2009, at 7:31 , Dr Nic Williams wrote: > >> I recently shared a MacRuby app with a friend

[MacRuby-devel] Distributing apps with MacRuby.framework

2009-01-21 Thread Dr Nic Williams
- Dr Nic Williams iPhone and Rails consultants - http://mocra.com Fun with iPhone/Ruby/Rails/Javascript - http://drnicwilliams.com * Surf Report for iPhone - http://mocra.com/projects/surfreport/ * ___ MacRuby-devel mailing list MacRuby-devel@lists.macosforg

[MacRuby-devel] attr_accessor on NSManagedObject

2009-01-01 Thread Dr Nic Williams
restart the app for example. If I remove the :name accessor, then the name field starts appearing/working in the app again. What do I need to do to get accessors working for NSManagedObject attributes? Cheers Nic -- Dr Nic Williams iPhone and Rails consultants - http://mocra.com Fun with iPhone

Re: [MacRuby-devel] Pointers for BOOL types

2009-01-01 Thread Dr Nic Williams
artbomb.com.au > http://www.flickr.com/photos/lachie/ > > > > On Fri, Jan 2, 2009 at 1:04 PM, Dr Nic Williams > wrote: >> Ah, thanks. >> >> I've looked thought the src now, and it seems _C_ID and _C_BOOL might >> correspond to "@" and "

Re: [MacRuby-devel] Pointers for BOOL types

2009-01-01 Thread Dr Nic Williams
ple the following code: > # rects was retuned by NSLayoutManager#rectArrayForCharacterRange > puts rects[0] > puts rects[0] > > Displays: > # size=#> > x.rb:222:in `[]': unrecognized octype `?_?' (RuntimeError) > _______ > Ma

[MacRuby-devel] Equivalent of _cmd in macruby?

2009-01-01 Thread Dr Nic Williams
Is there a nice equivalent to _cmd in macruby? Nic -- Dr Nic Williams iPhone and Rails consultants - http://mocra.com Fun with iPhone/Ruby/Rails/Javascript - http://drnicwilliams.com * Surf Report for iPhone - http://mocra.com/projects/surfreport

[MacRuby-devel] Pointers for BOOL types

2009-01-01 Thread Dr Nic Williams
rk 'Cocoa' p1 = Pointer.new_with_type('@') p1.assign(false) p1[0] == false # => false, but should be true Then I figured I should be able to pass BOOL to -new_with_type as it is the data type, but BOOL isn't recognised. Perhaps test_objc.rb could include some more examples/c

Re: [MacRuby-devel] NSManagedObject being returned in delegate as Pointer

2008-12-30 Thread Dr Nic Williams
>>>> rb_undef_alloc_func(rb_cPointer); >>>> rb_define_singleton_method(rb_cPointer, "new_with_type", >>>> rb_pointer_new_with_type, 1); >>>> rb_define_method(rb_cPointer, "assign", rb_pointer_assign, 1); >>>> rb_def