[MacRuby] #994: Grit gem acts differently in macruby vs macruby app
MacRuby
ruby-noreply at macosforge.org
Sun Dec 5 23:07:48 PST 2010
#994: Grit gem acts differently in macruby vs macruby app
---------------------------------------+------------------------------------
Reporter: hungerandthirst@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone: MacRuby 0.7
Component: MacRuby | Keywords:
---------------------------------------+------------------------------------
Comment(by isaackearse@…):
OK I'm getting slightly different results again. Ruby 1.9 and MacRuby
both return the same result from the command line:
{{{
Isaac-2:Downloads isaac$ macruby test.rb
33
../Users/isaac/src/rails
#<Grit::Repo "/Users/isaac/src/rails/.git">
Isaac-2:Downloads isaac$ ruby19 test.rb
33
../Users/isaac/src/rails
#<Grit::Repo "/Users/isaac/src/rails/.git">
}}}
When I run the same script in Xcode it sometimes returns different results
and sometimes fails with this error:
{{{
/Users/isaac/Downloads/994/build/Debug/994.app/Contents/Resources/rb_main.rb:18:in
`block': Interrupted system call - /usr/bin/env git --git-
dir='/Users/isaac/src/rails/.git' diff-files (Errno::EINTR)
from
/Users/isaac/Downloads/994/build/Debug/994.app/Contents/Resources/rb_main.rb:16:in
`<main>'
}}}
When it runs successfully in Xcode it returns these results:
{{{
0
../Users/isaac/src/rails
#<Grit::Repo "/Users/isaac/src/rails/.git">
}}}
Attached is a zip of the project - created with Xcode Version 3.2.5
--
Ticket URL: <http://www.macruby.org/trac/ticket/994#comment:2>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list