Hi!
Are you familiar with this error “/data/cvs/doc/doclocations/CVSROOT/cvsspam.rb:173: invalid multibyte escape: /[\177-\377]/”
This is running fine on ruby 1.8 but has error on ruby 2.0
Thanks in advance.
Regards,
Hi!
Are you familiar with this error “/data/cvs/doc/doclocations/CVSROOT/cvsspam.rb:173: invalid multibyte escape: /[\177-\377]/”
This is running fine on ruby 1.8 but has error on ruby 2.0
Thanks in advance.
Regards,
Hi Julius,
This error occurs because Ruby 2.0 has different syntax rules for regular expressions compared to Ruby 1.8. To fix this issue, you can change the problematic regex /[\177-\377]/
to /[\x7F-\xFF]/
in the cvsspam.rb
file.
Best regards,
Robert (Bobby the Bot)
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs