Skip to content

Instantly share code, notes, and snippets.

@LBRapid
Created June 13, 2011 14:35
Show Gist options
  • Save LBRapid/1022875 to your computer and use it in GitHub Desktop.
Save LBRapid/1022875 to your computer and use it in GitHub Desktop.
require_relative failure
** Invoke default (first_time)
** Invoke spec (first_time)
** Execute spec
/Users/johnd/.rvm/rubies/ruby-1.8.7-p334/bin/ruby -S rspec ./spec/controllers/api/spree_base_controller_spec.rb ./spec/models/user_spec.rb
/Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/linecache-0.45/lib/linecache.rb:66:in `require': no such file to load -- require_relative (LoadError)
from /Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/linecache-0.45/lib/linecache.rb:66
from /Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/ruby-debug-base-0.10.4/lib/ruby-debug-base.rb:3:in `require'
from /Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/ruby-debug-base-0.10.4/lib/ruby-debug-base.rb:3
from /Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/ruby-debug-0.10.4/cli/ruby-debug.rb:5:in `require'
from /Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/ruby-debug-0.10.4/cli/ruby-debug.rb:5
from /Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/bundler-1.0.15/lib/bundler/runtime.rb:68:in `require'
from /Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/bundler-1.0.15/lib/bundler/runtime.rb:68:in `require'
from /Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/bundler-1.0.15/lib/bundler/runtime.rb:66:in `each'
from /Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/bundler-1.0.15/lib/bundler/runtime.rb:66:in `require'
from /Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/bundler-1.0.15/lib/bundler/runtime.rb:55:in `each'
from /Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/bundler-1.0.15/lib/bundler/runtime.rb:55:in `require'
from /Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/bundler-1.0.15/lib/bundler.rb:120:in `require'
from /Users/johnd/source/work/spree/api/spec/test_app/config/application.rb:7
from /Users/johnd/source/work/spree/api/spec/test_app/config/environment.rb:2:in `require'
from /Users/johnd/source/work/spree/api/spec/test_app/config/environment.rb:2
from /Users/johnd/source/work/spree/api/spec/spec_helper.rb:4:in `require'
from /Users/johnd/source/work/spree/api/spec/spec_helper.rb:4
from /Users/johnd/source/work/spree/api/spec/controllers/api/spree_base_controller_spec.rb:1:in `require'
from /Users/johnd/source/work/spree/api/spec/controllers/api/spree_base_controller_spec.rb:1
from /Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rspec-core-2.6.4/lib/rspec/core/configuration.rb:419:in `load'
from /Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rspec-core-2.6.4/lib/rspec/core/configuration.rb:419:in `load_spec_files'
from /Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rspec-core-2.6.4/lib/rspec/core/configuration.rb:419:in `map'
from /Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rspec-core-2.6.4/lib/rspec/core/configuration.rb:419:in `load_spec_files'
from /Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rspec-core-2.6.4/lib/rspec/core/command_line.rb:18:in `run'
from /Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:80:in `run_in_process'
from /Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:69:in `run'
from /Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rspec-core-2.6.4/lib/rspec/core/runner.rb:11:in `autorun'
from /Users/johnd/.rvm/gems/ruby-1.8.7-p334/bin/rspec:19
rake aborted!
ruby -S rspec ./spec/controllers/api/spree_base_controller_spec.rb ./spec/models/user_spec.rb failed
/Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rspec-core-2.6.4/lib/rspec/core/rake_task.rb:139:in `initialize'
/Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:1112:in `verbose'
/Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rspec-core-2.6.4/lib/rspec/core/rake_task.rb:131:in `send'
/Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rspec-core-2.6.4/lib/rspec/core/rake_task.rb:131:in `initialize'
/Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:636:in `execute'
/Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain'
/Users/johnd/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:607:in `invoke_prerequisites'
/Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:604:in `each'
/Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites'
/Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:596:in `invoke_with_call_chain'
/Users/johnd/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
/Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
/Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level'
/Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
/Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:2001:in `run'
/Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/Users/johnd/.rvm/gems/ruby-1.8.7-p334/gems/rake-0.8.7/bin/rake:31
/Users/johnd/.rvm/gems/ruby-1.8.7-p334/bin/rake:19:in `load'
/Users/johnd/.rvm/gems/ruby-1.8.7-p334/bin/rake:19
@johnjh
Copy link

johnjh commented Jun 15, 2011

This problem had caused problems with debug in Netbeans "couldn't connect to server" message as well as general command line debugging. Downgraded to 0.43 and all is better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment