Skip to content
This repository has been archived by the owner on Feb 13, 2020. It is now read-only.

Seeing an error in the sauce gem #346

Open
lanceblais opened this issue Aug 5, 2015 · 3 comments
Open

Seeing an error in the sauce gem #346

lanceblais opened this issue Aug 5, 2015 · 3 comments

Comments

@lanceblais
Copy link

Hello, I am using ruby 2.0.0-p645 and when I run bundle exec rake sauce:spec I see the following:

Note: This happens when I run it in a docker container. Might be related? It otherwise works fine from my Mac running ruby 2.0.0-p247.

  Sauce public job link: 
     Failure/Error: Unable to find matching line from backtrace
     NoMethodError:
       undefined method `map' for nil:NilClass
     # /vendor/bundle/ruby/2.0.0/gems/sauce-3.5.6/lib/sauce/config.rb:223:in `caps_for_location'
     # /vendor/bundle/ruby/2.0.0/gems/sauce-3.5.6/lib/sauce/rspec/rspec.rb:126:in `block in included'
     # /vendor/bundle/ruby/2.0.0/gems/rspec-core-2.13.0/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
     # /vendor/bundle/ruby/2.0.0/gems/rspec-core-2.13.0/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
     # /vendor/bundle/ruby/2.0.0/gems/rspec-core-2.13.0/lib/rspec/core/example.rb:247:in `instance_eval_with_args'
     # /vendor/bundle/ruby/2.0.0/gems/rspec-core-2.13.0/lib/rspec/core/hooks.rb:93:in `block (2 levels) in run'
     # /vendor/bundle/ruby/2.0.0/gems/rspec-core-2.13.0/lib/rspec/core/hooks.rb:95:in `call'
     # /vendor/bundle/ruby/2.0.0/gems/rspec-core-2.13.0/lib/rspec/core/hooks.rb:95:in `run'
     # /vendor/bundle/ruby/2.0.0/gems/rspec-core-2.13.0/lib/rspec/core/hooks.rb:424:in `run_hook'
     # /vendor/bundle/ruby/2.0.0/gems/rspec-core-2.13.0/lib/rspec/core/example_group.rb:325:in `run_around_each_hooks'
     # /vendor/bundle/ruby/2.0.0/gems/rspec-core-2.13.0/lib/rspec/core/example.rb:256:in `with_around_each_hooks'
     # /vendor/bundle/ruby/2.0.0/gems/rspec-core-2.13.0/lib/rspec/core/example.rb:111:in `run'
     # /vendor/bundle/ruby/2.0.0/gems/rspec-core-2.13.0/lib/rspec/core/example_group.rb:386:in `block in run_examples'
     # /vendor/bundle/ruby/2.0.0/gems/rspec-core-2.13.0/lib/rspec/core/example_group.rb:382:in `map'
     # /vendor/bundle/ruby/2.0.0/gems/rspec-core-2.13.0/lib/rspec/core/example_group.rb:382:in `run_examples'
     # /vendor/bundle/ruby/2.0.0/gems/rspec-core-2.13.0/lib/rspec/core/example_group.rb:367:in `run'
     # /vendor/bundle/ruby/2.0.0/gems/rspec-core-2.13.0/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
     # /vendor/bundle/ruby/2.0.0/gems/rspec-core-2.13.0/lib/rspec/core/command_line.rb:28:in `map'
     # /vendor/bundle/ruby/2.0.0/gems/rspec-core-2.13.0/lib/rspec/core/command_line.rb:28:in `block in run'
     # /vendor/bundle/ruby/2.0.0/gems/rspec-core-2.13.0/lib/rspec/core/reporter.rb:34:in `report'
     # /vendor/bundle/ruby/2.0.0/gems/rspec-core-2.13.0/lib/rspec/core/command_line.rb:25:in `run'
     # /vendor/bundle/ruby/2.0.0/gems/rspec-core-2.13.0/lib/rspec/core/runner.rb:80:in `run'
     # /vendor/bundle/ruby/2.0.0/gems/rspec-core-2.13.0/lib/rspec/core/runner.rb:17:in `block in autorun'
@lanceblais
Copy link
Author

Anything on this?

@DylanLacey
Copy link
Contributor

I think the gem is choking on RSpec when it's trying to give you a public job link, but it;s weird it's only on containers.

What happens if you run your tests serially?

@Zechtitus
Copy link

seeing the same thing... weird thing is it works fine using the RubyMine IDE... cannot get tests to run thru the console

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants