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
Friday, August 12, 2011
Sunday, August 07, 2011
ImageMagick Installer
Download the script from https://github.com/maddox/magick-installer/blob/master/magick-installer.sh and run it.
ImageScience on Snow Leopard
1) Download and install MacPorts http://www.macports.org/install.php
2) sudo port install freeimage
3) env ARCHFLAGS="-arch x86_64" gem install RubyInline image_science
2) sudo port install freeimage
3) env ARCHFLAGS="-arch x86_64" gem install RubyInline image_science
Subscribe to:
Posts (Atom)