Re: [MacRuby-devel] xcode crashed on run button pressed

2012-06-14 Thread Joshua Ballanco
Hi,  

Can you narrow down what part of your application causes the crash? Have you 
tried following the instructions on the wiki page for a basic app? If you're 
still experiencing a crash with that example, there may be a problem with your 
Xcode install.

Cheers,

Josh  


On Wednesday, June 6, 2012 at 10:46 AM, 李果 wrote:

> Hi, I installed macruby 0.11 and created a simple macruby application with 
> xcode 4.3.2 without changing anything. When I pressed the run button, xcode 
> just crashed. Then I switched to macruby nightly build, the same thing 
> happened again. Finally, I built macruby from source code following the 
> instructions in macruby project's readme file but the same problem still 
> existed. Did someone encountered the same problem?  
> ___
> MacRuby-devel mailing list
> [email protected] (mailto:[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


Re: [MacRuby-devel] macgem 'undefined method' error

2012-06-14 Thread Joshua Ballanco
That's a very good point, actually…and as I recall the error used to be more 
explicit about there being a permissions error. Would you mind filing a ticket 
on Github so that we can remember to have a look?

Thanks!

- Josh  


On Tuesday, June 12, 2012 at 3:45 PM, Jean-Denis MUYS wrote:

> OK, when I "sudo" that command, the error goes away.
>  
> Sorry about the waste of bandwidth.
>  
> Maybe the error message could be more explicit…
>  
> Jean-Denis
>  
>  
> On 12 juin 2012, at 14:41, Jean-Denis Muys wrote:
>  
> > Hi,
> >  
> > When executing:
> >  
> > macgem install sequel
> >  
> > I get:
> >  
> > Fetching: sequel-3.36.1.gem ( 4%)ERROR: While executing gem … 
> > (NoMethodError)
> > undefined method `to_str' for #
> >  
> > I have no idea whether the issue is with MacRuby or sequel.
> >  
> > Any suggestion?
> >  
> > Thanks,
> >  
> > Jean-Denis
>  
> ___
> MacRuby-devel mailing list
> [email protected] (mailto:[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


Re: [MacRuby-devel] xcode crashed on run button pressed

2012-06-14 Thread Ben Mills
Posting the crash log might help in determining what's going on.
http://gist.github.com




On Thu, Jun 14, 2012 at 3:03 PM, Joshua Ballanco  wrote:

>  Hi,
>
> Can you narrow down what part of your application causes the crash? Have
> you tried following the instructions on the wiki page for a basic app? If
> you're still experiencing a crash with that example, there may be a problem
> with your Xcode install.
>
> Cheers,
>
> Josh
>
> On Wednesday, June 6, 2012 at 10:46 AM, 李果 wrote:
>
> Hi, I installed macruby 0.11 and created a simple macruby application with
> xcode 4.3.2 without changing anything. When I pressed the run button, xcode
> just crashed. Then I switched to macruby nightly build, the same thing
> happened again. Finally, I built macruby from source code following the
> instructions in macruby project's readme file but the same problem still
> existed. Did someone encountered the same problem?
> ___
> 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


Re: [MacRuby-devel] gem not loading in MacRuby app

2012-06-14 Thread Joshua Ballanco
Hey Jean-Denis,

Glad to hear you got things working. The MacRuby installer should install the 
MacRuby.framework in /Library/Frameworks/, but there is also the macruby_deploy 
tool which will copy the framework into your application bundle (so that your 
customers don't have to have MacRuby installed). It will also vendor the gems 
you're using, but only if you tell it too by sending a command-line switch. 
Could that, perhaps, be the source of your issues?

- Josh  


On Wednesday, June 13, 2012 at 12:11 PM, Jean-Denis MUYS wrote:

> This is a followup to my problems migrating to Xcode 4.3.3 and MacRuby 0.12 
> under Lion 10.7.4.
>  
> Situation as of yesterday:
>  
> - MacRuby 0.12 installer installed in /Library/Frameworks instead of within 
> Xcode 4.3.3 bundle
> - MacRuby project template links MacRuby frameworks from within Xcode 4.3.3 
> bundle where it's missing
> - Worked around by copying the MacRuby framework back to within Xcode 4.3.3 
> bundle using the ditto command.
>  
> New problem:
>  
> My MacRuby app fails to load its gems, which it claims are not found.
>  
> So it seems the workaround is not so good. Perhaps the gems are looked for 
> relative to the framework location?
>  
> So I reversed the workaround and patched the MacRuby project instead:
>  
> - I removed MacRuby.framework referring to the /Developer location (which 
> happens to be within Xcode)
> - I added MacRuby.framework from /Library/Frameworks
> - I added "/Library/Frameworks" to the target settings "Framework Search 
> Paths"
>  
> And now my app can find its gems.
>  
> I am still uncomfortable with my installation problem. Where is the MacRuby 
> installer supposed to install the framework anyway? Why didn't it? Or is the 
> Xcode project template that is wrong?
>  
> At least I can go on working.
>  
> Of course, next is another issue, apparently unrelated, so I'll write it up 
> in another post.
>  
> Regards,
>  
> Jean-Denis
>  
>  
> [Logo Kleegroup]
> Klee Group is a great place to work – Il fait bon travailler à Klee Group
> ___
> MacRuby-devel mailing list
> [email protected] (mailto:[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