Re: [MacRuby-devel] BridgeSupport v2

2011-01-19 Thread Martin Hawkins
I've just applied Preview3 and the error has gone away - I've updated the ticket. My two questions about reverting to an earlier version of BridgeSupport and incorporating into the build process still hold however. On Jan 18, 1:24 pm, Martin Hawkins wrote: > Laurent, > I've created a project as y

Re: [MacRuby-devel] BridgeSupport v2

2011-01-19 Thread Laurent Sansonetti
Hi Martin, Sorry for the late reply. Reverting to an earlier BridgeSupport is hard. Basically, you would need to first remove all BridgeSupport directories from /System/Library/Frameworks, then re-install the original BridgeSupport distribution. The last step involves copying the files from th

Re: [MacRuby-devel] BridgeSupport Preview 3 released

2011-01-19 Thread Laurent Sansonetti
Hi Mark, One thing you can do is check the existence of the /System/Library/BridgeSupport/ruby-1.8/bridgesupportparser.bundle file in the file system. This file is new in BridgeSupport preview and doesn't exist in a default Snow Leopard installation. Laurent On Jan 18, 2011, at 7:08 PM, Mark

[MacRuby-devel] segfault galore while building spec-fu

2011-01-19 Thread Joel Reymont
I'm getting segmentation faults all over the place [1] when building spec-fu [2] using macrake. What is the best way to debug these? Should I just run macruby from gdb and file a bug report with the stack trace? Thanks, Joel [1] https://gist.github.com/786100 [2] https://github.com/w

Re: [MacRuby-devel] what are you building with macruby?

2011-01-19 Thread Louis-Philippe
Over here I built a video processing cluster of MacOS workstations, where the processing nodes are implemented using MacRuby. It's an internal tool protected by NDA so I won't say more ;). Works great overall. 2011/1/18 Eloy Duran > We’re working on a pretty big (code wise) product for designe

Re: [MacRuby-devel] what are you building with macruby?

2011-01-19 Thread Juan C . Méndez
We make games for small kids (infants, toddlers) using MacRuby. http://babygames4.us On Mon, Jan 17, 2011 at 3:19 PM, Matt Aimonetti wrote: > Wow this is awesome! > We are working on redesigning the MacRuby website and I'd like to feature > MacRuby apps on the homepage, so make sure to let us kn

Re: [MacRuby-devel] BridgeSupport v2

2011-01-19 Thread Eloy Duran
I'd love an installer that restores the original BS files. But I have no idea how much time that would cost you… On Wed, Jan 19, 2011 at 11:14 AM, Laurent Sansonetti wrote: > Hi Martin, > Sorry for the late reply. > Reverting to an earlier BridgeSupport is hard. Basically, you would need to > fir

[MacRuby-devel] Rspec, Embedded frameworks and ENV['DYLD_FRAMEWORK_PATH']

2011-01-19 Thread Michael Hagedorn
Has anyone had any luck using rspec and putting the objects under test in an embedded framework? When I try to do this and and put "ENV['DYLD_FRAMEWORK_PATH'] = ENV['BUILT_PRODUCTS_DIR']" in the spec_helper and then execute the rspec file via 'macruby blah_spec.rb', I get a "framework not foun

[MacRuby-devel] is_a? method

2011-01-19 Thread Robert Rice
Hi: I notice that the obj.is_a? method does not work on a class constant. It only works on an instance of the class. Is this the way it should work? Do I need to create a loop checking using the superclass method to check the inheritance of a class or is there an easier way? Thanks, Bob Rice

Re: [MacRuby-devel] is_a? method

2011-01-19 Thread Dave Baldwin
Have you tried kind_of? method, i.e. class AnArray < Array end a = AnArray.new a.kind_of? Arraywill return true a.kind_of? String will return false assuming I haven't miss understood your question. Dave. On 19 Jan 2011, at 21:06, Robert Rice wrote: >

Re: [MacRuby-devel] is_a? method

2011-01-19 Thread Robert Rice
Hi Dave: Thanks for the reply. You instantiated AnArray. Try this: class AnArray < Array; end AnArray.kind_of?( Array ) will return false is_a? doesn't work on the class object. I don't know if it supposed to but other than creating an instance the only alternative is a loop requesting

[MacRuby-devel] macruby command in console

2011-01-19 Thread Robert Rice
Entering macruby by mistake on the console command line instead of macirb gets no reply. The user must type ctrl-C to abort it. Probably macruby should reply with usage information and exit. Bob Rice ___ MacRuby-devel mailing list MacRuby-devel@lists.

Re: [MacRuby-devel] is_a? method

2011-01-19 Thread Caio Chassot
On 2011-01-19, at 20:50 , Robert Rice wrote: > > You instantiated AnArray. Try this: > > class AnArray < Array; end > > AnArray.kind_of?( Array ) will return false Is this what you're looking for? $ macirb irb(main):001:0> class AnArray < Array; end => nil irb(main):002:0> AnArray <= Array

Re: [MacRuby-devel] macruby command in console

2011-01-19 Thread Caio Chassot
On 2011-01-19, at 20:55 , Robert Rice wrote: > > Entering macruby by mistake on the console command line instead of macirb > gets no reply. The user must type ctrl-C to abort it. > > Probably macruby should reply with usage information and exit. Not really. macruby is expecting input. If you ty

Re: [MacRuby-devel] is_a? method

2011-01-19 Thread Robert Rice
Hi Caio: Yep. That will work. I didn't find the <= class method in the RDoc. Thanks, Bob Rice On Jan 19, 2011, at 6:15 PM, Caio Chassot wrote: > On 2011-01-19, at 20:50 , Robert Rice wrote: >> >> You instantiated AnArray. Try this: >> >> class AnArray < Array; end >> >> AnArray.kind_of?( Arr

Re: [MacRuby-devel] macruby command in console

2011-01-19 Thread Robert Rice
Hi Caio: Is macruby similar to macirb but without the prompts? Thanks, Bob Rice On Jan 19, 2011, at 6:17 PM, Caio Chassot wrote: > On 2011-01-19, at 20:55 , Robert Rice wrote: >> >> Entering macruby by mistake on the console command line instead of macirb >> gets no reply. The user must type

Re: [MacRuby-devel] macruby command in console

2011-01-19 Thread Caio Chassot
On 2011-01-19, at 21:43 , Robert Rice wrote: > > Hi Caio: > > Is macruby similar to macirb but without the prompts? It's not interactive. It just reads from stdin and executes that. And implementation-wise, macirb is a whole other beast. This is not particular to macruby. It's how standard rub

Re: [MacRuby-devel] macruby command in console

2011-01-19 Thread russell muetzelfeldt
> Date: Wed, 19 Jan 2011 17:55:05 -0500 > From: Robert Rice > Subject: [MacRuby-devel] macruby command in console > > Entering macruby by mistake on the console command line instead of macirb > gets no reply. The user must type ctrl-C to abort it. > > Probably macruby should reply with usage in