Ruby 1.9 and up fixes.

Ruby now requires relative paths for require lines since the load path
does not include '.' and String is not an enumerable.