Leopard and Ruby (DTrace!)
October 25th, 2007
Leopard (Mac OS X 10.5) comes out tomorrow, and here is a list of what that means for the system’s included Ruby from the folks at Apple’s Mac OS Forge.
Nice irb support, and Ruby updated to 1.8.6, Rails 1.2.3, and Mongrel 1.0.1.
The only thing in the list given that surprised me was that the default Ruby install includes DTrace probes. The Ruby DTrace probe patches are based on Joyent’s work on Ruby for Solaris. This is a great way to look inside your app and see what’s really going.
Instruments is the name of the program you use to see what’s going on via the DTrace probes, new in Leopard. Some DTrace examples with Ruby are on the Joyent site (just hit cancel when asked for authorization), and some more examples in /Developer/Examples/Ruby/DTrace in your Leopard install.
UPDATE: Additional info on DTrace in Leopard. If you know of any more sites with detailed info or instructions, please leave a comment and I’ll add to this list.
Sorry, comments are closed for this article.