这个错误已经存在了两个星期,并且一直放弃尝试解决它,忘记它,然后重新发现它。痛苦的循环一直在杀死我。
/Users/Samudabamu/.rvm/rubies/ruby-2.1.10/lib/ruby/site_ruby/2.1.0/rubygems/resolver.rb:231:in `search_for': Unable to resolve dependency: user requested 'executable-hooks (= 1.6.0)' (Gem::UnsatisfiableDependencyError)
from /Users/Samudabamu/.rvm/rubies/ruby-2.1.10/lib/ruby/site_ruby/2.1.0/rubygems/resolver.rb:283:in `block in sort_dependencies'
from /Users/Samudabamu/.rvm/rubies/ruby-2.1.10/lib/ruby/site_ruby/2.1.0/rubygems/resolver.rb:277:in `each'
from /Users/Samudabamu/.rvm/rubies/ruby-2.1.10/lib/ruby/site_ruby/2.1.0/rubygems/resolver.rb:277:in `sort_by'
from /Users/Samudabamu/.rvm/rubies/ruby-2.1.10/lib/ruby/site_ruby/2.1.0/rubygems/resolver.rb:277:in `with_index'
from /Users/Samudabamu/.rvm/rubies/ruby-2.1.10/lib/ruby/site_ruby/2.1.0/rubygems/resolver.rb:277:in `sort_dependencies'
from /Users/Samudabamu/.rvm/rubies/ruby-2.1.10/lib/ruby/site_ruby/2.1.0/rubygems/resolver/molinillo/lib/molinillo/delegates/specification_provider.rb:52:in `block in sort_dependencies'
from /Users/Samudabamu/.rvm/rubies/ruby-2.1.10/lib/ruby/site_ruby/2.1.0/rubygems/resolver/molinillo/lib/molinillo/delegates/specification_provider.rb:69:in `with_no_such_dependency_error_handling'
from /Users/Samudabamu/.rvm/rubies/ruby-2.1.10/lib/ruby/site_ruby/2.1.0/rubygems/resolver/molinillo/lib/molinillo/delegates/specification_provider.rb:51:in `sort_dependencies'
from /Users/Samudabamu/.rvm/rubies/ruby-2.1.10/lib/ruby/site_ruby/2.1.0/rubygems/resolver/molinillo/lib/molinillo/resolution.rb:165:in `initial_state'
from /Users/Samudabamu/.rvm/rubies/ruby-2.1.10/lib/ruby/site_ruby/2.1.0/rubygems/resolver/molinillo/lib/molinillo/resolution.rb:106:in `start_resolution'
from /Users/Samudabamu/.rvm/rubies/ruby-2.1.10/lib/ruby/site_ruby/2.1.0/rubygems/resolver/molinillo/lib/molinillo/resolution.rb:64:in `resolve'
from /Users/Samudabamu/.rvm/rubies/ruby-2.1.10/lib/ruby/site_ruby/2.1.0/rubygems/resolver/molinillo/lib/molinillo/resolver.rb:42:in `resolve'
from /Users/Samudabamu/.rvm/rubies/ruby-2.1.10/lib/ruby/site_ruby/2.1.0/rubygems/resolver.rb:188:in `resolve'
from /Users/Samudabamu/.rvm/rubies/ruby-2.1.10/lib/ruby/site_ruby/2.1.0/rubygems/request_set.rb:396:in `resolve'
from /Users/Samudabamu/.rvm/rubies/ruby-2.1.10/lib/ruby/site_ruby/2.1.0/rubygems/request_set.rb:408:in `resolve_current'
from /Users/Samudabamu/.rvm/rubies/ruby-2.1.10/lib/ruby/site_ruby/2.1.0/rubygems.rb:243:in `finish_resolve'
from /Users/Samudabamu/.rvm/rubies/ruby-2.1.10/lib/ruby/site_ruby/2.1.0/rubygems.rb:311:in `block in activate_bin_path'
from /Users/Samudabamu/.rvm/rubies/ruby-2.1.10/lib/ruby/site_ruby/2.1.0/rubygems.rb:309:in `synchronize'
from /Users/Samudabamu/.rvm/rubies/ruby-2.1.10/lib/ruby/site_ruby/2.1.0/rubygems.rb:309:in `activate_bin_path'
from /Users/Samudabamu/.rvm/gems/ruby-2.1.10/bin/rails:23:in `<main>'
from /Users/Samudabamu/.rvm/gems/ruby-2.1.10/bin/ruby_executable_hooks:24:in `eval'
from /Users/Samudabamu/.rvm/gems/ruby-2.1.10/bin/ruby_executable_hooks:24:in `<main>'
我已经尝试完全清除ruby版本管理器(rvm),重新安装捆绑程序,xcode,openssl等。这可能是$ PATH问题吗?真的在这里抓着稻草。
感谢您的时间。
答案 0 :(得分:0)
只是让社区知道我从未解决过这个问题。我最终重新安装了OSX来解决该问题,但这绝对不是最佳解决方案。