Closed leticiarodrigues5 closed 1 month ago
Hello,
I had the same issue. I solved it with two things: I added the activesupport to the rubocop_extensions like that.
rubocop_extensions: activesupport:gemfile rubocop-performance:gemfile rubocop-rails:gemfile rubocop-rspec:gemfile
and I fixed the version of the activesupport I need in my Gemfile.
gem 'activesupport', '~> 6.0', '>= 6.0.6.1'
This is the version I used because we are still using Rails 6.0.
I hope it works for you too.
The reason for the error is that some of your dependencies probably like mine didn't specify the maximum version, now that they released the new version of ActiveSupport pointing to ruby 3.1, your gems are downloading the latest and giving you the error. https://rubygems.org/gems/activesupport
@leticiarodrigues5 as @leofin mentioned this is due to your dependencies and not related to the action. Worth noting though, that we don't recommend using the action-rubocop extensions approach. It's recommended you replace it with this example setup in the documentation today where the host project's Gemfile
will be used instead. Thank you.
So, this happened suddenly, was working until last friday.
This is my workflow: