按照此处的设置说明,我最终运行时得到以下信息bundle exec srb tc
sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi:1638: Unable to resolve constant RecursiveConstMethods https://srb.help/5002
1638 | extend RSpec::Support::RecursiveConstMethods
为什么冰糕抱怨rbi
它自己创建的文件?我是否错过了必须告诉它忽略 rbi 文件或其他内容的步骤?
我的 gemfile 看起来像
source "https://rubygems.org"
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
# Specify your gem's dependencies in testgem.gemspec
gemspec
gem 'sorbet', :group => :development
gem 'sorbet-runtime'