Problem running single spec files

Hello, I have a problem running single spec files.
I received the following error:

Carmens-MacBook-Air:821896b9-carmen.j.to-rspec-1 CTO$ bundle exec rspec 00_hello_spec.rb
bundler: failed to load command: rspec (/Users/CTO/.rbenv/versions/2.3.1/bin/rspec)
LoadError: cannot load such file – /Users/CTO/Desktop/MyAppAcademyProjects/Exercises/821896b9-carmen.j.to-rspec-1/00_hello_spec.rb
/Users/CTO/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.2.3/lib/rspec/core/configuration.rb:1226:in load' /Users/CTO/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.2.3/lib/rspec/core/configuration.rb:1226:inblock in load_spec_files’
/Users/CTO/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.2.3/lib/rspec/core/configuration.rb:1224:in each' /Users/CTO/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.2.3/lib/rspec/core/configuration.rb:1224:inload_spec_files’
/Users/CTO/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.2.3/lib/rspec/core/runner.rb:97:in setup' /Users/CTO/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.2.3/lib/rspec/core/runner.rb:85:inrun’
/Users/CTO/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.2.3/lib/rspec/core/runner.rb:70:in run' /Users/CTO/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.2.3/lib/rspec/core/runner.rb:38:ininvoke’
/Users/CTO/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-3.2.3/exe/rspec:4:in <top (required)>' /Users/CTO/.rbenv/versions/2.3.1/bin/rspec:23:inload’
/Users/CTO/.rbenv/versions/2.3.1/bin/rspec:23:in `<top (required)>’

Nevermind! I figured it out :smile:

1 Like