on-internet
← Community

bundler: failed to load command: rspec

Stack Overflow ·

I am new to Rails and I want to run Rspec using Mac. When I run: bundle exec rspec spec/00_hello_spec.rb I get the following response: bundler: failed to load command: rspec (/Users/OumouKaba/Downloads/test-first-ruby-master/vendor/bundle/ruby/2.4.0/bin/rspec) LoadError: cannot load such file -- spec_helper /Users/OumouKaba/Downloads/test-first-ruby-master/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.2.3/lib/rspec/core/configuration.rb:1181:in `require' /Users/OumouKaba/Downloads/test-first-ruby-master/vendor/bundle/ruby/2.4.0/gems/rspec-core-3.2.3/lib/rspec/core/configuration.rb:1181:in `block

Comments

Sign in or sign up to comment and upvote.

No comments yet.