I am working with ruby 1.8.6 (2007-03-13 patchlevel 0) [x86_64-linux]
and I get
undefined method `bytes' for #<String:0x2a95ec2268> (NoMethodError)
even though my code works on ruby 1.8.7. patchlevel 249
I saw somewhere that you need to add require "jcode"
for a similar method not defined error with each_byte
. I tried adding that but it still does not work. Any suggestions are very appreciated.