ruby 1.9 compatibility

Hi Josh, 
I add some quick fix to make this gem work with ruby 1.9, can you help me to release this version (v0.3.0) to rubygems.org?
By the way, I also replace the jeweler's build tasks, in favor of bundler.