String#to_a does not exist in Ruby 1.9
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.
Merge pull request #51 from optopus/ruby19-compatibility

Ruby19 compatibility