rubygems88% confidence\u2191 14

LoadError: cannot load such file

Full error message
LoadError: cannot load such file -- bcrypt_ext
Solution

A native extension failed to build or isn't compiled for your Ruby/platform. 1. `gem pristine <gem>` rebuilds the native extension. 2. For bcrypt / nokogiri on Apple Silicon: `bundle config build.<gem> --with-cflags="-Wno-error=implicit-function-declaration"`. 3. After Ruby upgrade (e.g. 3.2 -> 3.3), `bundle pristine` all gems with extensions.

API access

Get this solution programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/error/656082a75fcbfbfa312c381420c612f303af812ff774561ffc9501e31b8b9c97
hash \u00b7 656082a75fcbfbfa312c381420c612f303af812ff774561ffc9501e31b8b9c97
LoadError: cannot load such file — DepScope fix | DepScope