RSS

Archive for the ‘Apple Mac OS X’ Category

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

Now that Leopard, the latest release of Mac OS X, is available to everyone, you may wonder what has changed from the Ruby developer’s perspective.

Ruby

Ruby in Leopard was framework’ized. It is now available in /System/Library/Frameworks/Ruby.framework. Compatibility with the previous directory layout is preserved, /usr/bin/ruby and /usr/lib/ruby

Let see the example symbolic links that point inside the framework:

$ readlink /usr/bin/ruby
../../System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby
$ readlink /usr/lib/ruby
../../System/Library/Frameworks/Ruby.framework/Versions/Current/usr/lib/ruby
$ readlink /usr/lib/libruby.1.dylib
../../System/Library/Frameworks/Ruby.framework/Versions/Current/usr/lib/libruby.1.dylib

IRB

Now that readline support is available, IRB has command-line editing and history support.

13 Dec 2007

Ruby in Leopard, the latest release of Mac OS X

Author: ceefour | Filed under: Apple Mac OS X, GUI, News, Rails, Ruby, Tips, Tools