Skip to content

Instantly share code, notes, and snippets.

@aderuwe
Created February 21, 2017 12:54
Show Gist options
  • Save aderuwe/620c8a45983918f0c9104f69f08c3efd to your computer and use it in GitHub Desktop.
Save aderuwe/620c8a45983918f0c9104f69f08c3efd to your computer and use it in GitHub Desktop.
gem install stacktrace
c:\code\project>gem install --backtrace bundler
ERROR:  While executing gem ... (Encoding::CompatibilityError)
    incompatible character encodings: ASCII-8BIT and UTF-8
        C:/Ruby23-x64/lib/ruby/2.3.0/resolv.rb:1459:in `put_string'
        C:/Ruby23-x64/lib/ruby/2.3.0/resolv.rb:1489:in `put_label'
        C:/Ruby23-x64/lib/ruby/2.3.0/resolv.rb:1482:in `block in put_labels'
        C:/Ruby23-x64/lib/ruby/2.3.0/resolv.rb:1473:in `each_index'
        C:/Ruby23-x64/lib/ruby/2.3.0/resolv.rb:1473:in `put_labels'
        C:/Ruby23-x64/lib/ruby/2.3.0/resolv.rb:1469:in `put_name'
        C:/Ruby23-x64/lib/ruby/2.3.0/resolv.rb:1415:in `block (2 levels) in encode'
        C:/Ruby23-x64/lib/ruby/2.3.0/resolv.rb:1413:in `each'
        C:/Ruby23-x64/lib/ruby/2.3.0/resolv.rb:1413:in `block in encode'
        C:/Ruby23-x64/lib/ruby/2.3.0/resolv.rb:1433:in `initialize'
        C:/Ruby23-x64/lib/ruby/2.3.0/resolv.rb:1399:in `new'
        C:/Ruby23-x64/lib/ruby/2.3.0/resolv.rb:1399:in `encode'
        C:/Ruby23-x64/lib/ruby/2.3.0/resolv.rb:775:in `sender'
        C:/Ruby23-x64/lib/ruby/2.3.0/resolv.rb:527:in `block in fetch_resource'
        C:/Ruby23-x64/lib/ruby/2.3.0/resolv.rb:1103:in `block (3 levels) in resolv'
        C:/Ruby23-x64/lib/ruby/2.3.0/resolv.rb:1101:in `each'
        C:/Ruby23-x64/lib/ruby/2.3.0/resolv.rb:1101:in `block (2 levels) in resolv'
        C:/Ruby23-x64/lib/ruby/2.3.0/resolv.rb:1100:in `each'
        C:/Ruby23-x64/lib/ruby/2.3.0/resolv.rb:1100:in `block in resolv'
        C:/Ruby23-x64/lib/ruby/2.3.0/resolv.rb:1098:in `each'
        C:/Ruby23-x64/lib/ruby/2.3.0/resolv.rb:1098:in `resolv'
        C:/Ruby23-x64/lib/ruby/2.3.0/resolv.rb:522:in `fetch_resource'
        C:/Ruby23-x64/lib/ruby/2.3.0/resolv.rb:512:in `each_resource'
        C:/Ruby23-x64/lib/ruby/2.3.0/resolv.rb:493:in `getresource'
        C:/Ruby23-x64/lib/ruby/2.3.0/rubygems/remote_fetcher.rb:99:in `api_endpoint'
        C:/Ruby23-x64/lib/ruby/2.3.0/rubygems/source.rb:47:in `api_uri'
        C:/Ruby23-x64/lib/ruby/2.3.0/rubygems/source.rb:139:in `fetch_spec'
        C:/Ruby23-x64/lib/ruby/2.3.0/rubygems/resolver/api_specification.rb:77:in `spec'
        C:/Ruby23-x64/lib/ruby/2.3.0/rubygems/resolver/installer_set.rb:78:in `add_always_install'
        C:/Ruby23-x64/lib/ruby/2.3.0/rubygems/dependency_installer.rb:474:in `resolve_dependencies'
        C:/Ruby23-x64/lib/ruby/2.3.0/rubygems/commands/install_command.rb:239:in `install_gem'
        C:/Ruby23-x64/lib/ruby/2.3.0/rubygems/commands/install_command.rb:300:in `block in install_gems'
        C:/Ruby23-x64/lib/ruby/2.3.0/rubygems/commands/install_command.rb:296:in `each'
        C:/Ruby23-x64/lib/ruby/2.3.0/rubygems/commands/install_command.rb:296:in `install_gems'
        C:/Ruby23-x64/lib/ruby/2.3.0/rubygems/commands/install_command.rb:203:in `execute'
        C:/Ruby23-x64/lib/ruby/2.3.0/rubygems/command.rb:308:in `invoke_with_build_args'
        C:/Ruby23-x64/lib/ruby/2.3.0/rubygems/command_manager.rb:169:in `process_args'
        C:/Ruby23-x64/lib/ruby/2.3.0/rubygems/command_manager.rb:139:in `run'
        C:/Ruby23-x64/lib/ruby/2.3.0/rubygems/gem_runner.rb:55:in `run'
        C:/Ruby23-x64/bin/gem.cmd:29:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment