We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Rubocop v0.16.0 will produce the following error when using v2.0.0 of the rainbow gem. Using v1.99.2 does not produce this error.
rainbow
undefined method `color' for ".":String
Rainbow changed the default behavior in v2.0.0; we may need to add the following to rubocop:
require 'rainbow/ext/string'
Alternatively, we can adjust the method call. Refer to Rainbow README.
I cannot use v0.17.0, which has a revised gemspec to lock down the rainbow version due to the json gem dependency hell between chef and rubocop.
json
chef
rubocop
The text was updated successfully, but these errors were encountered:
You can use chef from master. It's compatible with json 1.8.
master
Sorry, something went wrong.
About Rainbow, I've handled the same issue in my Transpec. I think it can be applied to RuboCop.
Successfully merging a pull request may close this issue.
Rubocop v0.16.0 will produce the following error when using v2.0.0 of the
rainbow
gem. Using v1.99.2 does not produce this error.Rainbow changed the default behavior in v2.0.0; we may need to add the following to rubocop:
Alternatively, we can adjust the method call. Refer to Rainbow README.
I cannot use v0.17.0, which has a revised gemspec to lock down the
rainbow
version due to thejson
gem dependency hell betweenchef
andrubocop
.The text was updated successfully, but these errors were encountered: