Skip to content

Commit 0c881e3

Browse files
yahondaclaude
andcommitted
Add rdoc gem for Ruby 4.0 compatibility
Ruby 4.0 removed rdoc from the default gems, so the unconditional `require "rdoc/task"` in rakefile:45 raises LoadError when running `bundle exec rake spec` under the devcontainer's Ruby 4.0.3. Declaring rdoc in the development group keeps the rdoc-related rake tasks available without changing the gemspec or restructuring the rakefile. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 59a2ef2 commit 0c881e3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ source "https://rubygems.org"
22

33
group :development do
44
gem "rspec_junit_formatter"
5+
gem "rdoc"
56
end
67

78
group :rubocop do

0 commit comments

Comments
 (0)