# Mac OS X Leopard Ruby Features

**URL:** <https://www.ruby-forum.com/t/mac-os-x-leopard-ruby-features/117646>\
**Category:** Ruby\
**Created:** [October 18, 2007, 10:09pm UTC](https://www.ruby-forum.com/t/mac-os-x-leopard-ruby-features/117646 "2007-10-18T22:09:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![pfharlock](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/f04885/32.png) [@pfharlock](https://www.ruby-forum.com/u/pfharlock)\
**Post date:** [October 18, 2007, 10:09pm UTC](https://www.ruby-forum.com/t/mac-os-x-leopard-ruby-features/117646/1 "2007-10-18T22:09:33Z")

</div>

From the 300+ New Features list for OS X Leopard:

> generate AppleEvents using a concise, AppleScript-like syntax.
> 
> Cocoa Bridges  
> Use Ruby and Python as first-class languages for building Cocoa  
> applications, thanks to Objective-C bridges as well as full Xcode  
> and Interface Builder support.

and as previously announced:

---

<div class="post-metadata">

**Author:** ![pfharlock](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/f04885/32.png) [@pfharlock](https://www.ruby-forum.com/u/pfharlock)\
**Post date:** [October 18, 2007, 10:28pm UTC](https://www.ruby-forum.com/t/mac-os-x-leopard-ruby-features/117646/2 "2007-10-18T22:28:52Z")

</div>

> and as previously announced:
> 
> > Ruby on Rails  
> > Work in a developer’s dreamland. Leopard is the perfect platform  
> > for Ruby on Rails development, with Rails, Mongrel, and Capistrano  
> > built in.

Yep, and we will see how well it’s done, soon enough.  
The big issue I’m concerned about is update/upgrade-ability.  
They did have a lot of close consultation with the Rails Core team,  
so it should be good, but we’ll see…

---

<div class="post-metadata">

**Author:** ![pfharlock](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/f04885/32.png) [@pfharlock](https://www.ruby-forum.com/u/pfharlock)\
**Post date:** [October 19, 2007, 12:29am UTC](https://www.ruby-forum.com/t/mac-os-x-leopard-ruby-features/117646/3 "2007-10-19T00:29:20Z")

</div>

On 10/18/07, John J. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> The big issue I’m concerned about is update/upgrade-ability.  
> They did have a lot of close consultation with the Rails Core team,  
> so it should be good, but we’ll see…

I hear that gem updates work fine. In addition to rails gems, it comes  
bundled with just about every gem you might need right out of the box.  
I guess I’ll be waiting to pick up a box to see the final list.

What I really want to know is what sort of D-Trace support is there.  
Is it just C and OS probes or have they put something together like  
Joyent [0](https://dtrace.joyent.com/projects/ruby-dtrace/wiki).

Brian.

---

<div class="post-metadata">

**Author:** ![pfharlock](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/f04885/32.png) [@pfharlock](https://www.ruby-forum.com/u/pfharlock)\
**Post date:** [October 25, 2007, 10:38am UTC](https://www.ruby-forum.com/t/mac-os-x-leopard-ruby-features/117646/4 "2007-10-25T10:38:03Z")

</div>

Let’s try this again (as posting on [groups.google.com](http://groups.google.com) appeared to  
break - so sorry if this has appeared more than once).

Apple have included no ustack helper in Ruby which comes with OSX - so  
you have to compile your own.

I have produced a patch for Ruby on OSX and e-mailed the details to  
scott at joyent. I hope he’s the right person.

It seems that Apple have broken the ability to use the -G parameter on  
dtrace. Meaning you can’t compile d scripts into linkable objects.  
This breaks the patch by the joyent guys. Hence me working out a  
solution for it.

I now have it all fully working. If Scott’s not the right person - who  
should I send it to?

---

<div class="post-metadata">

**Author:** ![pfharlock](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/f04885/32.png) [@pfharlock](https://www.ruby-forum.com/u/pfharlock)\
**Post date:** [October 25, 2007, 2:38pm UTC](https://www.ruby-forum.com/t/mac-os-x-leopard-ruby-features/117646/5 "2007-10-25T14:38:33Z")

</div>

On 10/25/07, removed\_email\_address@domain.invalid [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> dtrace. Meaning you can’t compile d scripts into linkable objects.  
> This breaks the patch by the joyent guys. Hence me working out a  
> solution for it.
> 
> I now have it all fully working. If Scott’s not the right person - who  
> should I send it to?

Feel free to report any OSX-related problems at  
[http://bugreporter.apple.com](http://bugreporter.apple.com)

You can attach files (patches) there.

Thanks,  
Laurent

---

<div class="post-metadata">

**Author:** ![pfharlock](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/f04885/32.png) [@pfharlock](https://www.ruby-forum.com/u/pfharlock)\
**Post date:** [October 25, 2007, 3:21pm UTC](https://www.ruby-forum.com/t/mac-os-x-leopard-ruby-features/117646/6 "2007-10-25T15:21:51Z")

</div>

In that case - please find attached the patch for Ruby 1.8.6+p111 (the  
latest security fixes) which works on Apple OSX Leopard and provides  
full DTrace support.

The ‘bugs’ aren’t bugs so much as differing implementation. Although  
not being able to compile objects is a little bit of a pain.

Cheers,

Lee.

---

<div class="post-metadata">

**Author:** ![pfharlock](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/f04885/32.png) [@pfharlock](https://www.ruby-forum.com/u/pfharlock)\
**Post date:** [October 26, 2007, 3:02am UTC](https://www.ruby-forum.com/t/mac-os-x-leopard-ruby-features/117646/7 "2007-10-26T03:02:41Z")

</div>

On 10/25/07, removed\_email\_address@domain.invalid [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Let’s try this again (as posting on [groups.google.com](http://groups.google.com) appeared to  
> break - so sorry if this has appeared more than once).
> 
> Apple have included no ustack helper in Ruby which comes with OSX - so  
> you have to compile your own.
> 
> I have produced a patch for Ruby on OSX and e-mailed the details to  
> scott at joyent. I hope he’s the right person.

I am no longer with Joyent, so if you mailed scott@joyent it wouldn’t  
get to  
me (you can use this address or, preferably, removed\_email\_address@domain.invalid) and I  
can  
help you out.

-Scott
