tapioca icon indicating copy to clipboard operation
tapioca copied to clipboard

Skip gem RBI check when sorbet/rbi/gems does not exist

Open alexcrocha opened this issue 6 months ago • 0 comments

Closes #2308

Motivation

When setting up a new repo with Tapioca, the configured gem RBI directory might not exist yet, and loading the Tapioca add-on crashes.

Implementation

The implementation now checks for the configured gem RBI directory. It then verifies this directory exists before running the gem RBI check, preventing the original crash.

Previously, the implementation only used the default gem RBI directory. I have updated our implementation to correctly respect the user's configuration.

alexcrocha avatar Jun 20 '25 15:06 alexcrocha