Ref: rubygems/bundler#7522
From what I understood, bundler 2.2.x was supposed to fallback to compiling gems if the precompiled binaries can't be used.
But from what I experienced it still doesn't work:
Using bundler 2.2.5
google-protobuf-3.14.0-x86_64-linux requires ruby version < 2.8.dev, >= 2.3,
which is incompatible with the current version, ruby 3.0.0p0