Stale rubocop-rspec and rspec-rails entries crash rake rubocop on Ruby 3.3
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 86/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- ruby
- Domain
- build-system, ci-cd, testing-qa
Research direction
Start with the dependency entries in Gemfile and the rubocop task in Rakefile, then inspect the rake.yml workflow context. Run bundle update && bundle exec rake to confirm the Minitest suite and remaining RuboCop cops complete cleanly; done means the rake job is green without the stale RSpec extensions.
Written by the indexing model from the issue text.
Description
The Rakefile requires rubocop-rspec for the rubocop task (Rakefile:45) and the Gemfile pulls in both rspec-rails ~>6.0 (Gemfile:13) and rubocop-rspec ~>2.22 (Gemfile:18). Neither belongs here: test/zold/test_wts.rb is plain Minitest, no spec/ directory exists, and .rubocop.yml does not enable any RSpec cop. The two gems and the require are dead weight kept from a copy-pasted skeleton.
On the Ruby 3.3 CI runner the version pin resolves rubocop-rspec 2.31.0, which transitively loads rubocop-rspec_rails 2.29.1. That extension calls RuboCop::ConfigLoader.inject_defaults! against the resolved rubocop 1.87.0, and the new signature rejects the directory argument: the rake step prints warning: Use config YAML file path instead of project root directory. and raises out of rubocop-rspec_rails.rb:18. The whole test (ubuntu-24.04, 3.3) job dies after a clean Minitest run of 10 assertions, so the rake.yml workflow stays red on master at 7c79029 and on every open pull request including #62 and #64. CI failure unrelated to actual code makes badge-driven review useless and lets a real regression slip past the reviewer.
Delete gem 'rspec-rails', '~>6.0', require: false and gem 'rubocop-rspec', '~>2.22', require: false from Gemfile, and drop the task.requires << 'rubocop-rspec' line from Rakefile. Run bundle update && bundle exec rake to confirm minitest plus the remaining rubocop-rake, rubocop-minitest, rubocop-performance cops complete cleanly, then re-trigger the workflow so the rake job lands green.
- Dominant language
- Ruby
- Stars
- 10
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from zold-io/zold-ruby-sdk
-
bug good first issue
Difficulty 1/5 Under an hour Newbie friendliness 82/100
zold-io/zold-ruby-sdk#63 · 1 comment · 1 reaction ·
-
bug good first issue
Difficulty 1/5 Under an hour Newbie friendliness 78/100
zold-io/zold-ruby-sdk#61 · 1 comment ·
-
Dependency Dashboard Openwontfix
Difficulty 4/5 3-5 days Newbie friendliness 15/100
zold-io/zold-ruby-sdk#15 ·
-
callback() Openbug help wanted
Difficulty 5/5 Over a week Newbie friendliness 25/100
zold-io/zold-ruby-sdk#5 · 1 comment ·
-
mobile API Openbug help wanted
Difficulty 5/5 Over a week Newbie friendliness 20/100
zold-io/zold-ruby-sdk#4 · 1 comment ·
All issues in zold-io/zold-ruby-sdk
Similar issues
-
user-reported
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Kong/developer.konghq.com#7316 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
TheOdinProject/curriculum#31408 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
notch8/utk_knapsack#148 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
Homebrew/homebrew-cask#288729 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100