Tag 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 | Also 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 | Also tagged | 4 Comments

Gem Trouble

I was recently involved in updating a Rails 2.0.2 application to 2.1.1 and part of that task was to update the local Rails installation. So, I naturally tried sudo gem update rails which failed with the message ERROR:  could not find rails locally or in repository

Posted in Rails | Also tagged , | Leave a comment