Ruby 1.9 fix

Hi,

Got this an error testing the project on Ruby 1.9+, this should do the trick. By the way, I'll add a "local" option on the project.