-
-
Notifications
You must be signed in to change notification settings - Fork 153
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
Encoding::UndefinedConversionError
when running mutant-rspec
#1228
Comments
An example project where this error is occurring: https://github.com/pauc/debug_mutant |
I've got independent reports that this still happens even on the latest release. I've got no reproduction at this point but will re-open the issue for now. We can extend the workaround to reset the binmode flag before every write. In the hope it does not evaporate before the write happens. |
See: #1235 which I may merge. asking for my reporters to test that version as we speak. |
I've expanded the workaround into a more elaborate one with the release of I've yet to reduce the bug to report it upstream to MRI, but: Mutant needs to stay functioning for a large number of Ruby releases, so this workaround has to stay for the forseeable future. |
Some weeks ago mutant stooped to work in my project. It's a Rails 6.1 application running on Ruby 2.6.6 in a Mac OSx machine.
I tried in a docker container and I also tried a new project with fewer dependencies (but both rails projects). Also tried in a linux machine.
Example of the output:
The content of the
Gemfile.lock
isAny clue what is happening?
The text was updated successfully, but these errors were encountered: