From 6225a0bc7005268fedc1c972b8aa2a78238bd2ca Mon Sep 17 00:00:00 2001 From: ksss Date: Thu, 8 Jan 2026 11:11:50 +0900 Subject: [PATCH] Fix rbs:annotate task rbs 3.10 cannot support rdoc < v6.16. And rdoc v7 has been released. --- Gemfile | 2 +- Rakefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 8fcb1c3..fb08ebd 100644 --- a/Gemfile +++ b/Gemfile @@ -5,5 +5,5 @@ gem "test-unit" group :sig do gem "rbs" - gem "rdoc", "<= 6.11" + gem "rdoc" end diff --git a/Rakefile b/Rakefile index ac434b2..a533fe1 100644 --- a/Rakefile +++ b/Rakefile @@ -17,8 +17,8 @@ namespace :rbs do require "pathname" Dir.mktmpdir do |tmpdir| - system("rdoc --ri --output #{tmpdir}/doc --root=. lib") - system("rbs annotate --no-system --no-gems --no-site --no-home -d #{tmpdir}/doc sig") + sh("rdoc --ri --output #{tmpdir}/doc --root=. lib") + sh("rbs annotate --no-system --no-gems --no-site --no-home -d #{tmpdir}/doc sig") end end