Added basic ruby 1.9.1 support