Project

General

Profile

Actions

Bug #26963

closed

ArgumentError: invalid byte sequence in US-ASCII error

Added by Ohad Levy over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Fixed in Releases:
Found in Releases:

Description

When using a docker based build environment, the following error is observed:

ArgumentError: invalid byte sequence in US-ASCII
  /usr/share/rubygems/rubygems/specification_policy.rb:330:in `==='
  /usr/share/rubygems/rubygems/specification_policy.rb:330:in `each'
  /usr/share/rubygems/rubygems/specification_policy.rb:330:in `grep'
  /usr/share/rubygems/rubygems/specification_policy.rb:330:in `validate_lazy_metadata'
  /usr/share/rubygems/rubygems/specification_policy.rb:70:in `validate'
  /usr/share/rubygems/rubygems/specification.rb:2656:in `validate'
  /usr/share/gems/gems/bundler-1.17.2/lib/bundler/rubygems_integration.rb:61:in `block in validate'
  /usr/share/gems/gems/bundler-1.17.2/lib/bundler/ui/shell.rb:140:in `with_level'
  /usr/share/gems/gems/bundler-1.17.2/lib/bundler/ui/shell.rb:92:in `silence'
  /usr/share/gems/gems/bundler-1.17.2/lib/bundler/rubygems_integration.rb:61:in `validate'
  /usr/share/gems/gems/bundler-1.17.2/lib/bundler/source/git.rb:243:in `block in serialize_gemspecs_in'
  /usr/share/gems/gems/bundler-1.17.2/lib/bundler/source/git.rb:236:in `each'
  /usr/share/gems/gems/bundler-1.17.2/lib/bundler/source/git.rb:236:in `serialize_gemspecs_in'
  /usr/share/gems/gems/bundler-1.17.2/lib/bundler/source/git.rb:163:in `specs'
  /usr/share/gems/gems/bundler-1.17.2/lib/bundler/definition.rb:758:in `block in converge_locked_specs'
  /usr/share/gems/gems/bundler-1.17.2/lib/bundler/definition.rb:744:in `each'
  /usr/share/gems/gems/bundler-1.17.2/lib/bundler/definition.rb:744:in `converge_locked_specs'
  /usr/share/gems/gems/bundler-1.17.2/lib/bundler/definition.rb:247:in `resolve'
  /usr/share/gems/gems/bundler-1.17.2/lib/bundler/definition.rb:170:in `specs'
  /usr/share/gems/gems/bundler-1.17.2/lib/bundler/definition.rb:158:in `resolve_remotely!'
  /usr/share/gems/gems/bundler-1.17.2/lib/bundler/installer.rb:310:in `resolve_if_needed'
  /usr/share/gems/gems/bundler-1.17.2/lib/bundler/installer.rb:84:in `block in run'
  /usr/share/gems/gems/bundler-1.17.2/lib/bundler/process_lock.rb:12:in `block in lock'
  /usr/share/gems/gems/bundler-1.17.2/lib/bundler/process_lock.rb:9:in `open'
  /usr/share/gems/gems/bundler-1.17.2/lib/bundler/process_lock.rb:9:in `lock'
  /usr/share/gems/gems/bundler-1.17.2/lib/bundler/installer.rb:73:in `run'
  /usr/share/gems/gems/bundler-1.17.2/lib/bundler/installer.rb:25:in `install'
  /usr/share/gems/gems/bundler-1.17.2/lib/bundler/cli/install.rb:65:in `run'
  /usr/share/gems/gems/bundler-1.17.2/lib/bundler/cli.rb:235:in `block in install'
  /usr/share/gems/gems/bundler-1.17.2/lib/bundler/settings.rb:143:in `temporary'
  /usr/share/gems/gems/bundler-1.17.2/lib/bundler/cli.rb:234:in `install'
  /usr/share/gems/gems/bundler-1.17.2/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
  /usr/share/gems/gems/bundler-1.17.2/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
  /usr/share/gems/gems/bundler-1.17.2/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
  /usr/share/gems/gems/bundler-1.17.2/lib/bundler/cli.rb:27:in `dispatch'
  /usr/share/gems/gems/bundler-1.17.2/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
  /usr/share/gems/gems/bundler-1.17.2/lib/bundler/cli.rb:18:in `start'
  /usr/share/gems/gems/bundler-1.17.2/exe/bundle:30:in `block in <top (required)>'
  /usr/share/gems/gems/bundler-1.17.2/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors'
  /usr/share/gems/gems/bundler-1.17.2/exe/bundle:22:in `<top (required)>'
  /usr/bin/bundle:23:in `load'
  /usr/bin/bundle:23:in `<main>'
```

## Environment
<pre>

Actions

Also available in: Atom PDF