Re: [MacRuby-devel] MacRuby-devel Digest, Vol 31, Issue 6
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 [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
[MacRuby-devel] Launch an app from the command line
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.rb But that doesn't set the bundle to the current directory and I get this error: No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exiting Is it possible to run a macruby app from the command line? Should I be using macrubyc to do this? Thanks, Corey ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] Launch an app from the command line
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` command. Corey ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
[MacRuby-devel] IB and Ruby files.
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 Folder References for any added folders" never get parsed. That is as far as I got debugging it since I'm assuming the rest of the code resides on IB or Xcode. The alternative is to add all my rb files into a flat directory structure in the bundle, but I don't have to do this. Am I missing something, is there a better way to get IB to recognize files in nested directories? Thanks, Corey ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
[MacRuby-devel] Profiling macruby code
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 [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Re: [MacRuby-devel] Profiling macruby code
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 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 >> [email protected] >> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > ___ > MacRuby-devel mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > ___ MacRuby-devel mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
