Skip to content

Commit 92cf427

Browse files
committed
Fix YARD compatibility with Ruby 4.0 by adding irb dependency
1 parent 2beb90a commit 92cf427

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ gem 'syslog' if RUBY_VERSION >= '3.4'
99
# benchmark was removed from default gems in Ruby 4.0 (silence warning on 3.4+)
1010
gem 'benchmark' if RUBY_VERSION >= '3.4'
1111

12+
# irb was removed from default gems in Ruby 4.0 (required by yard's legacy parser)
13+
gem 'irb' if RUBY_VERSION >= '4.0'
14+
1215
group :development do
1316
gem 'benchmark-ips', '~> 2.14', require: false
1417
gem 'equivalent-xml', '~> 0.6'

0 commit comments

Comments
 (0)