Invalid multibyte escape when running s3lib in console


#1

I installed
gem install s3lib
I get this error:
invalid multibyte escape: /[\r\n\t !#-[]-~\x80-\xff]+|(\[\x00-\x7f])/ (SyntaxError)

Any ideas?

thanks


#2

My bet is on UTF-8 encoding, which is default since 2.0 or so.


#3

Thank you. Is it possible to fix ? I tried to export ENV variables but it did not help.