spring: "gem" is not yet checked out. Run `bundle install` first.
I have spring and I run bin/rspec spec/views/some_spec.rb
The output message is
https://github.com/twitter/activerecord-reputation-system.git (at master) is not yet checked out. Run bundle install
first
I run bundle install but nothing happens after that. The error is the same if bin/rspec is called.
It only works if I call bundle install --deployment (which is an example for something slow).
Why cant I run bin/rspec without specifically running “bundle install --deployment”
About this issue
- Original URL
- State: open
- Created 9 years ago
- Comments: 18 (3 by maintainers)
Links to this issue
Commits related to this issue
- Use bundle exec when launching the server. This resolves #387 — committed to vanboom/spring by vanboom 3 years ago
Okay for those who will face the same problem: just use this page from bundler docs to resolve, it says:
Helped to me, although I didn’t remove Gemfile.lock!
@thebravoman I had the same issue on 1.3.2. Try running
bundle exec spring binstub --all
- it should regenerate yourbin/spring
fileWhat worked for me was
bundle exec spring binstub --all
.bundle exec rails c
). Should be working by now.EDIT: same error, upgrading 1.3.2 -> 1.3.3 +
spring binstub --all
also solved for mebin/spring
:@thebravoman are you using the latest version of spring?