Rspec cannot load error

Running this (bundle exec rspec spec/requests/static_pages_spec.rb) worked fine yesterday, but today when I go back into my environment (Aptana) I get the following errors:

/Users/sa/.rvm/gems/ruby-1.9.3-p0/gems/rspec-core-2.10.1/lib/rspec/core/configuration.rb:746:in `load': c
annot load such file -- /Users/sa/Documents/AptanaWorkspace/receiver/spec/spec/requests/static_pages_spec
.rb (LoadError)
        from /Users/sa/.rvm/gems/ruby-1.9.3-p0/gems/rspec-core-2.10.1/lib/rspec/core/configuration.rb:746
:in `block in load_spec_files'
        from /Users/sa/.rvm/gems/ruby-1.9.3-p0/gems/rspec-core-2.10.1/lib/rspec/core/configuration.rb:746
:in `map'
        from /Users/sa/.rvm/gems/ruby-1.9.3-p0/gems/rspec-core-2.10.1/lib/rspec/core/configuration.rb:746
:in `load_spec_files'
        from /Users/sa/.rvm/gems/ruby-1.9.3-p0/gems/rspec-core-2.10.1/lib/rspec/core/command_line.rb:22:i
n `run'
        from /Users/sa/.rvm/gems/ruby-1.9.3-p0/gems/rspec-core-2.10.1/lib/rspec/core/runner.rb:69:in `run
'
        from /Users/sa/.rvm/gems/ruby-1.9.3-p0/gems/rspec-core-2.10.1/lib/rspec/core/runner.rb:10:in `blo
ck in autorun'

I'm stumped as I've checked all references and am trying to run this from my app's root directory. All assistance is greatly appreciated. Thanks.

preguntado el 24 de agosto de 12 a las 01:08

1 Respuestas

cannot load such file -- /Users/sa/Documents/AptanaWorkspace/receiver/spec/spec/requests/static_pages_spec.rb (LoadError)

Parece que tienes un extra /spec in there, probably should be /Users/sa/Documents/AptanaWorkspace/receiver/spec/requests/static_pages_spec.rb. Are you sure you haven't changed anything?

Respondido 24 ago 12, 01:08

thanks. I'll look back through my commits to ensure nothing changed. - user464180

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.