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

Require stringio in tokenizer #83

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

Conversation

alexdeng-mp
Copy link

Upgrading to 6.4.4 of factory_bot_rails breaks spellr thoughtbot/factory_bot_rails@v6.4.3...v6.4.4.

We get the below error

bundler: failed to load command: spellr (/Users/alexdeng/.rbenv/versions/3.3.1/bin/spellr)
/Users/alexdeng/.rbenv/versions/3.3.1/lib/ruby/gems/3.3.0/gems/spellr-0.11.0/lib/spellr/tokenizer.rb:15:in `initialize': uninitialized constant Spellr::Tokenizer::StringIO (NameError)

Adding the explicit require of stringio sorts this.

@alexdeng-mp
Copy link
Author

@robotdana are you to review this please and do a release of spellr if you think the PR is appropriate?

@jayelkaake
Copy link

jayelkaake commented Dec 31, 2024

@robotdana just want to bump this for your attention because I love this gem but it breaks with new Rails+Rspec projects due to this issue and @alexdeng-mp 's solution is pretty simple. Thank you so much!

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.

2 participants