Embed does not seem to work anymore after upgrading from 0.5 to 0.6
I've recently upgraded from 0.5 to 0.6. When I checked if one of my apps still was okay I noticed a problem when embedding MacRuby into the application and running it on a MacRuby-less machine. The first time it's trying to require something from MacRuby (in this case Singleton and/or CGI) it throws a LoadError: *** Terminating app due to uncaught exception 'LoadError', reason: 'no such file to load -- singleton (LoadError)' The code can be found at GitHub: http://github.com/jeroenj/chill For some reason the problem does not resist with new projects. So my best guess is that there is something configured wrong in the project but I cannot seem to find out what.
Try clearing your targets and build again. - Matt On Sun, May 16, 2010 at 10:03 AM, Jeroen Jacobs <jj@redstorm.be> wrote:
I've recently upgraded from 0.5 to 0.6. When I checked if one of my apps still was okay I noticed a problem when embedding MacRuby into the application and running it on a MacRuby-less machine.
The first time it's trying to require something from MacRuby (in this case Singleton and/or CGI) it throws a LoadError: *** Terminating app due to uncaught exception 'LoadError', reason: 'no such file to load -- singleton (LoadError)'
The code can be found at GitHub: http://github.com/jeroenj/chill
For some reason the problem does not resist with new projects. So my best guess is that there is something configured wrong in the project but I cannot seem to find out what. _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Well, I've tried that but it didn't seem to help. I also have created a new app with the same requirements and for that one it did work well. I've compared the targets on both a new app and this one but there were no differences. I am more or less out of ideas why it's not doing it right. On 17 May 2010, at 00:50, Matt Aimonetti wrote:
Try clearing your targets and build again.
- Matt
On Sun, May 16, 2010 at 10:03 AM, Jeroen Jacobs <jj@redstorm.be> wrote: I've recently upgraded from 0.5 to 0.6. When I checked if one of my apps still was okay I noticed a problem when embedding MacRuby into the application and running it on a MacRuby-less machine.
The first time it's trying to require something from MacRuby (in this case Singleton and/or CGI) it throws a LoadError: *** Terminating app due to uncaught exception 'LoadError', reason: 'no such file to load -- singleton (LoadError)'
The code can be found at GitHub: http://github.com/jeroenj/chill
For some reason the problem does not resist with new projects. So my best guess is that there is something configured wrong in the project but I cannot seem to find out what. _______________________________________________ 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.org/mailman/listinfo.cgi/macruby-devel
participants (2)
-
Jeroen Jacobs
-
Matt Aimonetti