Category Archives: Ruby

A Ruby Time Machine

I use Mac OS X’s Time Machine to back up my MacBook Pro, and it has saved my skin more than once — including one time when I lost the entire disk and had to rebuild a new one from scratch. A while ago I wrote a Ruby script to implement a less ambitious but [...]

Posted in Ruby | Tagged , , | Leave a comment

libxml-ruby problems on Mac OS X

Adding a simple unit test to a Rails application to verify that a generated XML file conforms to the schema it declares should be simple enough. Sure, Ruby and XML used to be an odd couple, but with recent versions of libxml-ruby, the language has gained a nice set of bindings to one of the [...]

Posted in Ruby | Tagged , | 4 Comments