identikal
identikal copied to clipboard
fixing error on frozen string
Given that frozen_string_literal
is set to false
can you provide more details on the error you are facing? The gsub!
method is being used intentionally to avoid creating copies of page text.
I was iterating number files (100) and at some point hit with below error
can't modify frozen String (FrozenError)
Interesting, do you have a sample file that throws that error? Would like to understand better why the error is being thrown in that particular case.