Migrating RubyCocoa app over...
I was working on migrating an existing smallish RubyCocoa app to MacRuby. I created a new MacRuby application project then copied over my .rb files. I added the appropriate files to Resources and Other Sources. I updated all the sources for MacRuby syntax and got rid of of all the OSX prefix stuff. I then removed the existing MainMenu.nib and copied in my app's MainMenu.nib. When I try and run it the icon bounces in the dock and the window never appears. Any thoughts ? Best, Rich
I haven't done this much yet. The only problem I have ran into was a RubyCocoa document based app migration. Iirc MacRuby only comes with 1 template atm which isn't setup for documents. I f that's the case you should edit/copy your Info.plist. Eloy On Jun 12, 2008, at 3:20 PM, Richard Kilmer wrote:
I was working on migrating an existing smallish RubyCocoa app to MacRuby.
I created a new MacRuby application project then copied over my .rb files. I added the appropriate files to Resources and Other Sources. I updated all the sources for MacRuby syntax and got rid of of all the OSX prefix stuff. I then removed the existing MainMenu.nib and copied in my app's MainMenu.nib. When I try and run it the icon bounces in the dock and the window never appears. Any thoughts ?
Best,
Rich
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Hi Rich, Do you see something in the console? Are you using MacRuby's main.m and rb_main.rb? As Eloy suggested, was it an NSDocument-based application? I can help you offlist, since you may not want to disclose your sources here :) Laurent On Jun 12, 2008, at 6:20 AM, Richard Kilmer wrote:
I was working on migrating an existing smallish RubyCocoa app to MacRuby.
I created a new MacRuby application project then copied over my .rb files. I added the appropriate files to Resources and Other Sources. I updated all the sources for MacRuby syntax and got rid of of all the OSX prefix stuff. I then removed the existing MainMenu.nib and copied in my app's MainMenu.nib. When I try and run it the icon bounces in the dock and the window never appears. Any thoughts ?
Best,
Rich
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
participants (3)
-
Eloy Duran
-
Laurent Sansonetti
-
Richard Kilmer