Skip to content

Commit 41d3ba1

Browse files
committed
Workaround for Rainbow dependency, see rubocop/rubocop#763.
1 parent a22ca7c commit 41d3ba1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Rakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ RSpec::Core::RakeTask.new(:rcov) do |spec|
1515
end
1616

1717
task :spec
18+
require 'rainbow/ext/string' unless String.respond_to?(:color)
1819
require 'rubocop/rake_task'
1920
Rubocop::RakeTask.new(:rubocop)
2021

0 commit comments

Comments
 (0)