I have discovered that the redgreen gem is incompatible with ISO-8859-1 encoding of test files. What is the best way to disable one gem temporarily to run certain test files?
Asked
Active
Viewed 520 times
1 Answers
2
My first advice would be to save those files in UTF-8.
Alternatively, I'd look into the grouping feature of Bundler.
In your Gemfile
group :utf8 do
gem 'redgreen'
end
And then require
that group only when you want to use the redgreen
gem.
Bundler.require(:utf8, :default, Rails.env)

asymmetric
- 3,800
- 3
- 34
- 52