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

Guard expects specs to be in spec/ #417

Open
faissaloo opened this issue Sep 21, 2019 · 0 comments
Open

Guard expects specs to be in spec/ #417

faissaloo opened this issue Sep 21, 2019 · 0 comments

Comments

@faissaloo
Copy link

In my project I keep the specs in the same place as the code, despite my rspec being configured correctly running with guard always produces the error:

An error occurred while loading ./spec.
Failure/Error: __send__(method, file)

LoadError:
  cannot load such file -- /home/faissaloo/autodidact_space/spec
# /home/faissaloo/.asdf/installs/ruby/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/configuration.rb:2053:in `load'
# /home/faissaloo/.asdf/installs/ruby/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/configuration.rb:2053:in `load_file_handling_errors'
# /home/faissaloo/.asdf/installs/ruby/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/configuration.rb:1560:in `block in load_spec_files'
# /home/faissaloo/.asdf/installs/ruby/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/configuration.rb:1558:in `each'
# /home/faissaloo/.asdf/installs/ruby/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/configuration.rb:1558:in `load_spec_files'
# /home/faissaloo/.asdf/installs/ruby/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:98:in `setup'
# /home/faissaloo/.asdf/installs/ruby/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:86:in `run'
# /home/faissaloo/.asdf/installs/ruby/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:71:in `run'
# /home/faissaloo/.asdf/installs/ruby/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/lib/rspec/core/runner.rb:45:in `invoke'
# /home/faissaloo/.asdf/installs/ruby/2.6.1/lib/ruby/gems/2.6.0/gems/rspec-core-3.8.2/exe/rspec:4:in `<top (required)>'
# /home/faissaloo/.asdf/installs/ruby/2.6.1/bin/rspec:23:in `load'
# /home/faissaloo/.asdf/installs/ruby/2.6.1/bin/rspec:23:in `<top (required)>'
# /home/faissaloo/.asdf/installs/ruby/2.6.1/lib/ruby/2.6.0/bundler/cli/exec.rb:74:in `load'
# /home/faissaloo/.asdf/installs/ruby/2.6.1/lib/ruby/2.6.0/bundler/cli/exec.rb:74:in `kernel_load'
# /home/faissaloo/.asdf/installs/ruby/2.6.1/lib/ruby/2.6.0/bundler/cli/exec.rb:28:in `run'
# /home/faissaloo/.asdf/installs/ruby/2.6.1/lib/ruby/2.6.0/bundler/cli.rb:463:in `exec'
# /home/faissaloo/.asdf/installs/ruby/2.6.1/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
# /home/faissaloo/.asdf/installs/ruby/2.6.1/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
# /home/faissaloo/.asdf/installs/ruby/2.6.1/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
# /home/faissaloo/.asdf/installs/ruby/2.6.1/lib/ruby/2.6.0/bundler/cli.rb:27:in `dispatch'
# /home/faissaloo/.asdf/installs/ruby/2.6.1/lib/ruby/2.6.0/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
# /home/faissaloo/.asdf/installs/ruby/2.6.1/lib/ruby/2.6.0/bundler/cli.rb:18:in `start'
# /home/faissaloo/.asdf/installs/ruby/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.2/exe/bundle:30:in `block in <top (required)>'
# /home/faissaloo/.asdf/installs/ruby/2.6.1/lib/ruby/2.6.0/bundler/friendly_errors.rb:124:in `with_friendly_errors'
# /home/faissaloo/.asdf/installs/ruby/2.6.1/lib/ruby/gems/2.6.0/gems/bundler-1.17.2/exe/bundle:22:in `<top (required)>'
# /home/faissaloo/.asdf/installs/ruby/2.6.1/bin/bundle:23:in `load'
# /home/faissaloo/.asdf/installs/ruby/2.6.1/bin/bundle:23:in `<main>'
# 
#   Showing full backtrace because every line was filtered out.
#   See docs for RSpec::Configuration#backtrace_exclusion_patterns and
#   RSpec::Configuration#backtrace_inclusion_patterns for more information.
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

1 participant