Discussion:
[MacRuby-devel] MacRuby-devel Digest, Vol 66, Issue 1
Tim Rand
2013-11-03 08:11:15 UTC
Permalink
There was some mention in the most resent rubymotion release notes that
rubymotion was now capable of writing Mavericks os X Apps (including eval()
). So there is a solution. I am not sure Laurent will be willing to share
the solution back to macruby though.
Tim


On Sat, Nov 2, 2013 at 7:44 PM,
Send MacRuby-devel mailing list submissions to
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.macosforge.org/mailman/listinfo/macruby-devel
or, via email, send a message with subject or body 'help' to
You can reach the person managing the list at
When replying, please edit your Subject line so it is more specific
than "Re: Contents of MacRuby-devel digest..."
1. Mavericks and Macruby (rob ista)
2. Re: Mavericks and Macruby (Steve Clarke)
3. Re: Mavericks and Macruby (Joshua Ballanco)
4. Re: Mavericks and Macruby (Robert Carl Rice)
5. Re: Mavericks and Macruby (Andres Santos)
----------------------------------------------------------------------
Message: 1
Date: Sat, 02 Nov 2013 20:02:59 +0100
Subject: [MacRuby-devel] Mavericks and Macruby
Content-Type: text/plain; charset="windows-1252"
Something seems to be broken since the upgrade to Mavericks. Macgems don?t
Robs-iMac:~ rob$ macgem list
/usr/local/bin/macgem:9:in `<main>': undefined method `summary_indent='
for class `OptionParser' (NameError)
This is just an example. A ?require macgems? followed by e.g. ?require
uri? results in similar errors.
Anyone any clue?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.macosforge.org/pipermail/macruby-devel/attachments/20131102/13239b5b/attachment-0001.html
------------------------------
Message: 2
Date: Sat, 2 Nov 2013 23:06:56 +0000
To: "MacRuby development discussions."
Subject: Re: [MacRuby-devel] Mavericks and Macruby
Content-Type: text/plain; charset="windows-1252"
I've had that and other problems too.
The standard library 'set' no longer works, though it's fairly easy to
substitute NSMutableSet. I can't run one of my main apps on Mavericks.
Is this the beginning of the end or even the end of the end for Macruby?
Something seems to be broken since the upgrade to Mavericks. Macgems
Robs-iMac:~ rob$ macgem list
/usr/local/bin/macgem:9:in `<main>': undefined method `summary_indent='
for class `OptionParser' (NameError)
This is just an example. A ?require macgems? followed by e.g. ?require
uri? results in similar errors.
Anyone any clue?
_______________________________________________
MacRuby-devel mailing list
https://lists.macosforge.org/mailman/listinfo/macruby-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.macosforge.org/pipermail/macruby-devel/attachments/20131102/a8923661/attachment-0001.html
------------------------------
Message: 3
Date: Sun, 3 Nov 2013 02:32:15 +0200
To: "MacRuby development discussions."
Subject: Re: [MacRuby-devel] Mavericks and Macruby
Content-Type: text/plain; charset="utf-8"
I haven't had time to update to Mavericks yet, so I couldn't tell you for
sure, but the "summary_indent=" error looks like it may be a consequence of
the upgraded 2.0 version of Ruby on the system. IIRC, there should still be
a copy of the 1.8 Ruby version (under /System/Library I think?). If you
change the #! line in "macgem" to point specifically to Ruby 1.8, things
may start working again?
I've had that and other problems too.
The standard library 'set' no longer works, though it's fairly easy to
substitute NSMutableSet. I can't run one of my main apps on Mavericks.
Is this the beginning of the end or even the end of the end for Macruby?
Something seems to be broken since the upgrade to Mavericks. Macgems
Robs-iMac:~ rob$ macgem list
/usr/local/bin/macgem:9:in `<main>': undefined method
`summary_indent=' for class `OptionParser' (NameError)
This is just an example. A ?require macgems? followed by e.g. ?require
uri? results in similar errors.
Anyone any clue? _______________________________________________
MacRuby-devel mailing list
https://lists.macosforge.org/mailman/listinfo/macruby-devel
_______________________________________________
MacRuby-devel mailing list
https://lists.macosforge.org/mailman/listinfo/macruby-devel
------------------------------
Message: 4
Date: Sat, 2 Nov 2013 22:26:12 -0400
To: "MacRuby development discussions."
Subject: Re: [MacRuby-devel] Mavericks and Macruby
Content-Type: text/plain; charset="windows-1252"
Hi Rob,
I upgraded to Mavericks and soon after reverted my system to 10.8.5 from a
Time Machine backup after it was apparent that MacRuby wasn't going to
work. I have a MacRuby app on the iTunes Store and another pending review
on the store, so I still need to maintain them.
Is there a recent build of MacRuby for Mavericks?
Is the iTunes Store still accepting new MacRuby apps?
Of course, I think Apple is making a big mistake if they pull the rug out
from under MacRuby.
I need some help here.
Anybody?
Bob Rice
Something seems to be broken since the upgrade to Mavericks. Macgems
Robs-iMac:~ rob$ macgem list
/usr/local/bin/macgem:9:in `<main>': undefined method `summary_indent='
for class `OptionParser' (NameError)
This is just an example. A ?require macgems? followed by e.g. ?require
uri? results in similar errors.
Anyone any clue?
_______________________________________________
MacRuby-devel mailing list
https://lists.macosforge.org/mailman/listinfo/macruby-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.macosforge.org/pipermail/macruby-devel/attachments/20131102/c1d85766/attachment-0001.html
------------------------------
Message: 5
Date: Sat, 2 Nov 2013 20:43:59 -0600
To: "MacRuby development discussions."
Subject: Re: [MacRuby-devel] Mavericks and Macruby
<CAAfRnXv7chrs4WjS+VWxh=my=
Content-Type: text/plain; charset="windows-1252"
I agree a new tutorial for Mavericks would be great
Hi Rob,
I upgraded to Mavericks and soon after reverted my system to 10.8.5 from
a
Time Machine backup after it was apparent that MacRuby wasn't going to
work. I have a MacRuby app on the iTunes Store and another pending review
on the store, so I still need to maintain them.
Is there a recent build of MacRuby for Mavericks?
Is the iTunes Store still accepting new MacRuby apps?
Of course, I think Apple is making a big mistake if they pull the rug out
from under MacRuby.
I need some help here.
Anybody?
Bob Rice
Something seems to be broken since the upgrade to Mavericks. Macgems
don?t
Robs-iMac:~ rob$ macgem list
/usr/local/bin/macgem:9:in `<main>': undefined method `summary_indent='
for class `OptionParser' (NameError)
This is just an example. A ?require macgems? followed by e.g. ?require
uri? results in similar errors.
Anyone any clue?
_______________________________________________
MacRuby-devel mailing list
https://lists.macosforge.org/mailman/listinfo/macruby-devel
_______________________________________________
MacRuby-devel mailing list
https://lists.macosforge.org/mailman/listinfo/macruby-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.macosforge.org/pipermail/macruby-devel/attachments/20131102/e42b46a3/attachment.html
------------------------------
_______________________________________________
MacRuby-devel mailing list
https://lists.macosforge.org/mailman/listinfo/macruby-devel
End of MacRuby-devel Digest, Vol 66, Issue 1
********************************************
rob ista
2013-11-03 19:10:47 UTC
Permalink
Steve? Where is it then? Is it de-activated or sth? When I try to run a simple macruby app in xcode i get an error message that the GC is depreciated.
Rob


The garbage collector is deprecated but it's still there in Mavericks.

Steve
Steve Clarke
2013-11-04 07:08:55 UTC
Permalink
In your Xcode build settings you need to have a User Defined setting:

GCC_ENABLE_OBJC_GC = supported

If that’s missing it could be the answer.

But given my experience and comments from others I really wonder whether it’s worth the effort, as long as you can still fall back to a working version on 10.8.5.

Steve
Post by rob ista
Steve? Where is it then? Is it de-activated or sth? When I try to run a simple macruby app in xcode i get an error message that the GC is depreciated.
Rob
The garbage collector is deprecated but it's still there in Mavericks.
Steve
_______________________________________________
MacRuby-devel mailing list
https://lists.macosforge.org/mailman/listinfo/macruby-devel
Matthias Neeracher
2013-11-03 20:58:12 UTC
Permalink
Robs-iMac:~ rob$ macgem list
/usr/local/bin/macgem:9:in `<main>': undefined method `summary_indent=' for class `OptionParser' (NameError)
This is just an example. A ?require macgems? followed by e.g. ?require uri? results in similar errors.
Anyone any clue?
I investigated this a few months ago. The immediate cause of the breakage would not be terribly hard to fix—there was a change to the caching behavior of the Objective C runtime, so MacRuby would have to be changed a bit.

The bigger problem I found is that MacRuby relies on a version of llvm that by now is quite dated and no longer builds with current clang, and upgrading to a newer llvm appears to be non-trivial (Although this is not really my area of expertise).

Matthias
Loading...