Friday, August 12, 2011

require that is compatible with ruby 1.8.x and 1.9.x

require File.expand_path(File.join(File.dirname(__FILE__), 'player'))

This makes : require 'player' work on both Ruby 1.8.x and 1.9.x

Sunday, August 07, 2011

ImageMagick Installer

Download the script from and run it.

ImageScience on Snow Leopard

1) Download and install MacPorts
2) sudo port install freeimage
3) env ARCHFLAGS="-arch x86_64" gem install RubyInline image_science