I have the following setup
Gemfile
gem 'simplecov', require: false
gem 'simplecov-rcov', require: false
spec_helper.rb
SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter
SimpleCov.start 'rails'
In the specs I have tests for views.
After the tests are run and rcov tries to save the rcov_result I receive the following error:
/.rvm/gems/ruby-2.5.1/gems/simplecov-rcov-0.2.3/lib/simplecov-rcov.rb:52:in `write': "\xE2" from ASCII-8BIT to UTF-8 (Encoding::UndefinedConversionError)
Is there a way to solve this?