Category Archives: ruby

Installing and running MacRuby (Ruby 1.9.2) on 32-bit Intel Macs

I still use and develop on a Macbook Pro from March 2006, which has been my daily workhorse since then. I have better machines, but still find it good to use and travel almost exclusively with it, since it is … Continue reading

Posted in ruby | Leave a comment

Getting Sikuli Script working with Ruby(JRuby) on the Mac

Sikuli Script is one of only a handful of application that you can use to automate environments such as games, flash websites, or anything that takes a graphical approach to things. For me, getting it to support a Ruby application … Continue reading

Posted in ruby | Leave a comment

XML to YML conversion using ruby

I’ve switched from XML to YML as a data language for most of my code, mainly prompted by the ease of ruby/yaml. I had data for a chrononauts game in XML format. Rather than using this data as it was, … Continue reading

Posted in ruby | Leave a comment

Acts as state machine with legacy database – (rubyist aasm)

One of the (many!) ruby projects I’ve been working on required a ruby interface to a legacy database which contains existing state information in numeric form. I’ve been using aasm for other Ruby and Ruby on Rails projects, and since … Continue reading

Posted in ruby | Leave a comment

Executing the Unix find command to determine real file types from ruby

I recently needed to make sure all my files were named according to their content rather than to an arbitrary extension that had been added to them. This resulted in extending the ruby FileUtils to use the Unix file command … Continue reading

Posted in ruby | Leave a comment