Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@zzak
Created May 20, 2014 02:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zzak/1f3dd8b976cef78f2b33 to your computer and use it in GitHub Desktop.
Save zzak/1f3dd8b976cef78f2b33 to your computer and use it in GitHub Desktop.
ruby -Ilib bin/gem install foo-0.0.2.gem --backtrace
ERROR: While executing gem ... (Gem::DependencyError)
Unresolved dependency found during sorting - rspec (~> 2.14) (requested by foo-0.0.2, have foo-0.0.2, rspec-2.99.0.beta2, rspec-mocks-2.99.0.beta2, rspec-expectations-2.99.0.beta2, rspec-core-2.99.0.beta2, diff-lcs-1.2.5)
/Users/zscott/projects/rubygems/lib/rubygems/request_set.rb:337:in `block in tsort_each_child'
/Users/zscott/projects/rubygems/lib/rubygems/request_set.rb:326:in `each'
/Users/zscott/projects/rubygems/lib/rubygems/request_set.rb:326:in `tsort_each_child'
/Users/zscott/.rubies/ruby-trunk/lib/ruby/2.2.0/tsort.rb:411:in `call'
/Users/zscott/.rubies/ruby-trunk/lib/ruby/2.2.0/tsort.rb:411:in `each_strongly_connected_component_from'
/Users/zscott/.rubies/ruby-trunk/lib/ruby/2.2.0/tsort.rb:347:in `block in each_strongly_connected_component'
/Users/zscott/projects/rubygems/lib/rubygems/request_set.rb:322:in `each'
/Users/zscott/projects/rubygems/lib/rubygems/request_set.rb:322:in `tsort_each_node'
/Users/zscott/.rubies/ruby-trunk/lib/ruby/2.2.0/tsort.rb:345:in `call'
/Users/zscott/.rubies/ruby-trunk/lib/ruby/2.2.0/tsort.rb:345:in `each_strongly_connected_component'
/Users/zscott/.rubies/ruby-trunk/lib/ruby/2.2.0/tsort.rb:280:in `strongly_connected_components'
/Users/zscott/.rubies/ruby-trunk/lib/ruby/2.2.0/tsort.rb:255:in `strongly_connected_components'
/Users/zscott/projects/rubygems/lib/rubygems/request_set.rb:308:in `sorted_requests'
/Users/zscott/projects/rubygems/lib/rubygems/request_set.rb:140:in `install'
/Users/zscott/projects/rubygems/lib/rubygems/commands/install_command.rb:230:in `install_gem'
/Users/zscott/projects/rubygems/lib/rubygems/commands/install_command.rb:272:in `block in install_gems'
/Users/zscott/projects/rubygems/lib/rubygems/commands/install_command.rb:268:in `each'
/Users/zscott/projects/rubygems/lib/rubygems/commands/install_command.rb:268:in `install_gems'
/Users/zscott/projects/rubygems/lib/rubygems/commands/install_command.rb:183:in `execute'
/Users/zscott/projects/rubygems/lib/rubygems/command.rb:307:in `invoke_with_build_args'
/Users/zscott/projects/rubygems/lib/rubygems/command_manager.rb:167:in `process_args'
/Users/zscott/projects/rubygems/lib/rubygems/command_manager.rb:137:in `run'
/Users/zscott/projects/rubygems/lib/rubygems/gem_runner.rb:54:in `run'
bin/gem:21:in `<main>'
zscott@zscott-mba:~/projects/rubygems 🐱 git rev-parse HEAD
70a99881ee9ff145202fdbe2b7388a5d8a2d13aa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment