Mac OS X Leopard Ruby Features

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:

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…

On 10/18/07, John J. [email protected] 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.

Brian.

Let’s try this again (as posting on 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?

On 10/25/07, [email protected] [email protected] 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

You can attach files (patches) there.

Thanks,
Laurent

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.

On 10/25/07, [email protected] [email protected] wrote:

Let’s try this again (as posting on 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, [email protected]) and I
can
help you out.

-Scott