Fixed some errors (using ruby 2.1.2p95). Since ruby 1.9 require needs ./ to find includes in the working directory.
Merge pull request #1 from codedust/fix-ruby-1.9+

Fixed some exceptions (using ruby 2.1.2p95).