vendredi 15 février 2019

Unable to launch rails due to "'executable-hooks (= 1.6.0)' (Gem::UnsatisfiableDependencyError)"

Have had this error for a couple of weeks now and keep giving up trying to solve it, forget about it and then rediscover it. The cycle of pain has been killing me.

/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>'

I've tried completely purging ruby version manager(rvm), reinstalling bundler, xcode, openssl amongst other things. Could this potentially be a $PATH problem? Really clutching at straws here.

Thanks for your time.

Aucun commentaire:

Enregistrer un commentaire