Merge pull request #8909 from reitermarkus/sorbet-runtime-stub

Try preventing sorbet error.
This commit is contained in:
Markus Reiter 2020-10-13 10:40:24 +02:00 committed by GitHub
commit 2a9bb368e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,5 +6,8 @@ if ENV["HOMEBREW_SORBET_RUNTIME"]
Homebrew.install_bundler_gems!
require "sorbet-runtime"
else
# Explicitly prevent `sorbet-runtime` from being loaded.
ENV["GEM_SKIP"] = "sorbet-runtime"
require "sorbet-runtime-stub"
end