Re: [MacRuby-devel] Profiling macruby code

2010-10-21 Thread corey johnson
That works for the C and ObjC parts of macruby. But I can't get it to show me which ruby methods are taking the most amount of time. On Thu, Oct 21, 2010 at 10:58 AM, Alistair Holt wrote: > Instruments? > > On 21 Oct 2010, at 18:35, corey johnson wrote: > >> Has anyone

[MacRuby-devel] Profiling macruby code

2010-10-21 Thread corey johnson
Has anyone successfully profiled a running macruby (0.7) app? I've tried using Ruby's built in __Profiler and Ruby-Prof but both fail to run. Is there a Cocoa specific app that can be used? Thanks, Corey ___ MacRuby-devel mailing list MacRuby-devel@lists

[MacRuby-devel] IB and Ruby files.

2010-10-18 Thread corey johnson
I'm trying to get IB to recognize files i've added to xcode, but it fails unless they are added with the "Recursively create groups for any added folders" and not with "Create Folder References for any added folders" I added some logging to rb_nibtool and it seems like files added with "Create Fol

Re: [MacRuby-devel] Launch an app from the command line

2010-10-17 Thread corey johnson
On Sat, Oct 16, 2010 at 11:46 AM, Dave Baldwin wrote: > Assuming you have a valid app then > > open name.app That is where I'm running into problems. How do I compile my app into a .app file without xcode or xcodebuild? I would think it should be possible directly from the command line with the `

[MacRuby-devel] Launch an app from the command line

2010-10-16 Thread corey johnson
I'm trying to figure out how to launch a macruby app (with a cocoa UI) from the command line without relying on xcode or xcodebuild. The problem i'm running into is that the NSBundle.mainBundle is not being set when I run the app from the command line. I've tried using this: macruby -C. myApp.

Re: [MacRuby-devel] MacRuby-devel Digest, Vol 31, Issue 6

2010-09-10 Thread corey johnson
I can't wait for macruby on iOS devices! If you are looking for something to hold you off until then, try out Wax, it's a Lua/Objective-C bridge that is similar to macruby http://github.com/probablycorey/wax. Corey ___ MacRuby-devel mailing list MacRuby-