In Canny.rb line 578 you wrote:
vars_header += "vars_string = '" + Marshal.dump(@vars).sub("'", "\'") + "'" + "\n"
which is technically the same as you write
.sub("'","'")
It has to be
.sub("'","\\\\'")
Logged In: YES user_id=329823 Originator: NO
Were not sure but now I am: it also has to be .gsub, not .sub
Log in to post a comment.
Logged In: YES
user_id=329823
Originator: NO
Were not sure but now I am: it also has to be .gsub, not .sub