backtrace_formatter.rb - invalid byte sequence in US-ASCII (ArgumentError)
Created by: MSP-Greg
Subject of the issue
While running bundler tests in ruby/ruby (currently done with Azure Pipelines running an Ubuntu job and a MacOS job), the following error appears:
All in rspec-core-3.8.2/lib/rspec/core/
backtrace_formatter.rb:61:in `=~': invalid byte sequence in US-ASCII (ArgumentError)
backtrace_formatter.rb:61:in `block in matches?'
core/backtrace_formatter.rb:61:in `any?'
backtrace_formatter.rb:61:in `matches?'
backtrace_formatter.rb:55:in `exclude?'
backtrace_formatter.rb:50:in `backtrace_line'
backtrace_formatter.rb:37:in `block in format_backtrace'
backtrace_formatter.rb:37:in `map'
backtrace_formatter.rb:37:in `format_backtrace'
formatters/exception_presenter.rb:58:in `formatted_cause'
I work with trunk/master/2.7.0 and I've never come across this error before. Anyone have any ideas?
Your environment
- Ruby version: master/trunk
- rspec-core version: 3.8.2
Steps to reproduce
Run Ruby Azure Pipelines tests, the 'bundler' jobs'...