Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing error on frozen string #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

arunkumarg
Copy link

No description provided.

@jahangiranwari
Copy link
Owner

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.

@arunkumarg arunkumarg closed this Dec 17, 2019
@arunkumarg arunkumarg reopened this Dec 17, 2019
@arunkumarg
Copy link
Author

I was iterating number files (100) and at some point hit with below error

can't modify frozen String (FrozenError)

@jahangiranwari
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants