TDD Using RubyCocoa

Eric Smith just posted a very nice tutorial that introduces test-driven development using RubyCocoa and the Leopard development tools, which now support Ruby. Thanks Eric!

MacRuby 0.1

I am pleased to announce the first release of MacRuby, 0.1.

MacRuby is a version of Ruby that runs on top of Objective-C. More precisely, MacRuby is currently a port of the Ruby 1.9 implementation for the Objective-C runtime and garbage collector.

So far, since the project beginning was announced a few weeks ago, many bugs were fixed and features added. MacRuby is still at this point experimental, although if it’s also usable.

The purpose of this version is to release functional code, and also to let you test the new user experience. Please note that the project implementation will change deeply in the next releases.

You can learn more about the project on its homepage, and download a binary installer.

Enjoy!

Welcome MacRuby!

MacRuby, a version of Ruby that runs on top of Objective-C, has just been announced.

This is a new project from Apple, still experimental, and a first release is expected very soon.

You can learn more about the project by visiting the MacRuby homepage.

Enjoy!

Ruby Changes in 10.5.2 Update

The second software update for Mac OS 10.5 Leopard, named 10.5.2, has just been released.

RubyGems has been updated to 1.0.1, and RubyCocoa to 0.13.1, which are both respectively the latest versions available.

A problem was fixed in the Ruby rbconfig.rb’s LDSHARED variable, which didn’t include “-undefined dynamic_lookup”, and caused some 3rd party libraries like RubyInline to fail. Note that RubyInline shipped a fix quite early.

Enjoy, and report bugs as usual!

The Ultimate List of RubyCocoa Tutorials, Tips and Tools

Peter Cooper compiled a very nice list of various RubyCocoa resources. Thanks a lot Peter!

Ruby Changes in Security Update 2007-009

A security update is now available for both Tiger and Leopard, which fixes Ruby vulnerabilities. Check out the release notes for more information about the vulnerabilities that were fixed.

In Leopard, Ruby was updated to 1.8.6 p111 and Rails to 1.2.6.

Attachment_fu magic with Core Image and Ruby Cocoa

Marcus Crafter just published a very nice article about using CoreImage via RubyCocoa in Rails apps to handle file uploads, instead of the traditional RMagick and ImageScience libraries.

RubyGems 0.9.5 Supports Leopard

As the title says, the new version of RubyGems, 0.9.5, now includes Leopard support. You can safely update to this version without breaking Leopard’s Ruby configuration.

Updating is trivial:

$ sudo gem update --system

RubyGems 0.9.5 is a great release so far, do not hesitate to upgrade.

Probing DTrace

Kudos to Paul Ingles for his detailed analysis of Ruby Dtrace probes in Leopard. Among other tidbits, he includes a nice link to the Joyent “D” scripts for Ruby. Thanks, Paul!

Andy on RubyCocoa Shininess

Andy Matuschak has a nice roundup on RubyCocoa examples and Leopard documentation.

news feed