Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to resolve constant Sorbet #29

Open
rex-remind101 opened this issue Feb 9, 2024 · 1 comment
Open

Unable to resolve constant Sorbet #29

rex-remind101 opened this issue Feb 9, 2024 · 1 comment

Comments

@rex-remind101
Copy link

$ srb
spec/spec_helper.rb:385: Unable to resolve constant Sorbet https://srb.help/5002
     385 |RSpec::Sorbet.allow_doubles!

I followed the directions in the readme. I added the gem 'rspec-sorbet' to the Gemfile, bundle installed, and spec_helper.rb has the following combination after installing the gem

require 'rspec/sorbet'
RSpec::Sorbet.allow_doubles!
@rjnienaber
Copy link

Running this solved it for me:

$ bin/tapioca gem rspec-sorbet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants