Added Ruby 1.9 compability (require fixed)

Ruby 1.9 no longer includes the current dir into the load path.
There's: require_relative "example" but this is only in 1.9.
The patch is 1.8 and 1.9 compatible.