From 3afec6bfed3f49d778852fa8e3b5a54bee9d7a07 Mon Sep 17 00:00:00 2001 From: farisbasha Date: Wed, 18 Nov 2026 09:26:29 +0530 Subject: [PATCH] Fix dead RBS comments and require-hooks links in README sorbet.org/docs/rbs-comments now returns 404; the page lives at sorbet.org/docs/rbs-support ("RBS Comments Support"). The require-hooks gem source is github.com/ruby-next/require-hooks; the Shopify/require-hooks URL returns 404. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e81959afa..39d57efcb 100644 --- a/README.md +++ b/README.md @@ -892,9 +892,9 @@ For more concrete and advanced examples, take a look at [Tapioca's default DSL e ### Rewriting RBS comments to Sorbet signatures -Tapioca translates [RBS comments](https://sorbet.org/docs/rbs-comments) into Sorbet `sig {}` blocks at file load time, so `sorbet-runtime` wraps the methods as if they had been written with native sigs. This is what lets the DSL command introspect signatures that were originally documented as RBS comments. +Tapioca translates [RBS comments](https://sorbet.org/docs/rbs-support) into Sorbet `sig {}` blocks at file load time, so `sorbet-runtime` wraps the methods as if they had been written with native sigs. This is what lets the DSL command introspect signatures that were originally documented as RBS comments. -The rewriting is automatic on every `tapioca` invocation: [`require-hooks`](https://github.com/Shopify/require-hooks) intercepts `.rb` loads and `Spoom::Sorbet::Translate.rbs_comments_to_sorbet_sigs` translates the source before Ruby compiles it to bytecode. +The rewriting is automatic on every `tapioca` invocation: [`require-hooks`](https://github.com/ruby-next/require-hooks) intercepts `.rb` loads and `Spoom::Sorbet::Translate.rbs_comments_to_sorbet_sigs` translates the source before Ruby compiles it to bytecode. #### Caching rewrites with Bootsnap