Package: bundler Followup-For: Bug #914771 Hi,
I built the package from git and then installed the package in a chroot. I tried to build the package again and got following errors: ``` ┌──────────────────────────────────────────────────────────────────────────────┐ │ Run tests for ruby2.5 from debian/ruby-tests.rake │ └──────────────────────────────────────────────────────────────────────────────┘ RUBYLIB=/home/alee/sources/rubygems/ruby-team/ruby-appraisal/debian/ruby-appraisal/usr/lib/ruby/vendor_ruby:. GEM_PATH=debian/ruby-appraisal/usr/share/rubygems-integration/all:/home/alee/.gem/ruby/2.5.0:/var/lib/gems/2.5.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all ruby2.5 -S rake -f debian/ruby-tests.rake /usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb bin/bundle:104:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/bundler-1.17.1/exe/bundle (LoadError) from bin/bundle:104:in `<main>' Fbin/bundle:104:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/bundler-1.17.1/exe/bundle (LoadError) from bin/bundle:104:in `<main>' Fbin/bundle:104:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/bundler-1.17.1/exe/bundle (LoadError) from bin/bundle:104:in `<main>' Fbin/bundle:104:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/bundler-1.17.1/exe/bundle (LoadError) from bin/bundle:104:in `<main>' Fbin/bundle:104:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/bundler-1.17.1/exe/bundle (LoadError) from bin/bundle:104:in `<main>' bin/bundle:104:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/bundler-1.17.1/exe/bundle (LoadError) from bin/bundle:104:in `<main>' F....bin/bundle:104:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/bundler-1.17.1/exe/bundle (LoadError) from bin/bundle:104:in `<main>' bin/bundle:104:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/bundler-1.17.1/exe/bundle (LoadError) from bin/bundle:104:in `<main>' Fbin/bundle:104:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/bundler-1.17.1/exe/bundle (LoadError) from bin/bundle:104:in `<main>' bin/bundle:104:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/bundler-1.17.1/exe/bundle (LoadError) from bin/bundle:104:in `<main>' FFF..bin/bundle:104:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/bundler-1.17.1/exe/bundle (LoadError) from bin/bundle:104:in `<main>' bin/bundle:104:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/bundler-1.17.1/exe/bundle (LoadError) from bin/bundle:104:in `<main>' Fbin/bundle:104:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/bundler-1.17.1/exe/bundle (LoadError) from bin/bundle:104:in `<main>' bin/bundle:104:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/bundler-1.17.1/exe/bundle (LoadError) from bin/bundle:104:in `<main>' Fbin/bundle:104:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/bundler-1.17.1/exe/bundle (LoadError) from bin/bundle:104:in `<main>' bin/bundle:104:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/bundler-1.17.1/exe/bundle (LoadError) from bin/bundle:104:in `<main>' Fbin/bundle:104:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/bundler-1.17.1/exe/bundle (LoadError) from bin/bundle:104:in `<main>' bin/bundle:104:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/bundler-1.17.1/exe/bundle (LoadError) from bin/bundle:104:in `<main>' Fbin/bundle:104:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/bundler-1.17.1/exe/bundle (LoadError) from bin/bundle:104:in `<main>' bin/bundle:104:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/bundler-1.17.1/exe/bundle (LoadError) from bin/bundle:104:in `<main>' ERROR: While executing gem ... (Gem::InstallError) gem "dummy" is not installed Fbin/bundle:104:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/bundler-1.17.1/exe/bundle (LoadError) from bin/bundle:104:in `<main>' bin/bundle:104:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/bundler-1.17.1/exe/bundle (LoadError) from bin/bundle:104:in `<main>' ERROR: While executing gem ... (Gem::InstallError) gem "dummy" is not installed FFFFbin/bundle:104:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/bundler-1.17.1/exe/bundle (LoadError) from bin/bundle:104:in `<main>' bin/bundle:104:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/bundler-1.17.1/exe/bundle (LoadError) from bin/bundle:104:in `<main>' Fbin/bundle:104:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/bundler-1.17.1/exe/bundle (LoadError) from bin/bundle:104:in `<main>' Fbin/bundle:104:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/bundler-1.17.1/exe/bundle (LoadError) from bin/bundle:104:in `<main>' Fbin/bundle:104:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/bundler-1.17.1/exe/bundle (LoadError) from bin/bundle:104:in `<main>' Fbin/bundle:104:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/bundler-1.17.1/exe/bundle (LoadError) from bin/bundle:104:in `<main>' Fbin/bundle:104:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/bundler-1.17.1/exe/bundle (LoadError) from bin/bundle:104:in `<main>' F..........FFF............................................ Failures: 1) Appraisals file Bundler DSL compatibility supports all Bundler DSL in Appraisals file Failure/Error: raise RuntimeError, <<-error_message.strip_heredoc Command #{command.inspect} exited with status #{exitstatus}. Output: #{output.gsub(/^/, ' ')} error_message RuntimeError: Command "bundle install --local" exited with status 1. Output: # ./spec/support/acceptance_test_helpers.rb:170:in `block (2 levels) in run' # ./spec/support/acceptance_test_helpers.rb:162:in `tap' # ./spec/support/acceptance_test_helpers.rb:162:in `block in run' # ./spec/support/acceptance_test_helpers.rb:157:in `chdir' # ./spec/support/acceptance_test_helpers.rb:157:in `in_test_directory' # ./spec/support/acceptance_test_helpers.rb:161:in `run' # ./spec/acceptance/appraisals_file_bundler_dsl_compatibility_spec.rb:80:in `block (2 levels) in <top (required)>' 2) Bundle with custom path supports --path option Failure/Error: raise RuntimeError, <<-error_message.strip_heredoc Command #{command.inspect} exited with status #{exitstatus}. Output: #{output.gsub(/^/, ' ')} error_message RuntimeError: Command "bundle install --path=\"vendor/bundle\"" exited with status 1. Output: # ./spec/support/acceptance_test_helpers.rb:170:in `block (2 levels) in run' # ./spec/support/acceptance_test_helpers.rb:162:in `tap' # ./spec/support/acceptance_test_helpers.rb:162:in `block in run' # ./spec/support/acceptance_test_helpers.rb:157:in `chdir' # ./spec/support/acceptance_test_helpers.rb:157:in `in_test_directory' # ./spec/support/acceptance_test_helpers.rb:161:in `run' # ./spec/acceptance/bundle_with_custom_path_spec.rb:16:in `block (2 levels) in <top (required)>' 3) Bundle with custom path when already installed in vendor/another installs gems in the --path directory Failure/Error: raise RuntimeError, <<-error_message.strip_heredoc Command #{command.inspect} exited with status #{exitstatus}. Output: #{output.gsub(/^/, ' ')} error_message RuntimeError: Command "bundle install --path vendor/another" exited with status 1. Output: # ./spec/support/acceptance_test_helpers.rb:170:in `block (2 levels) in run' # ./spec/support/acceptance_test_helpers.rb:162:in `tap' # ./spec/support/acceptance_test_helpers.rb:162:in `block in run' # ./spec/support/acceptance_test_helpers.rb:157:in `chdir' # ./spec/support/acceptance_test_helpers.rb:157:in `in_test_directory' # ./spec/support/acceptance_test_helpers.rb:161:in `run' # ./spec/acceptance/bundle_with_custom_path_spec.rb:34:in `block (3 levels) in <top (required)>' 4) Bundler without flag passes --without flag to Bundler on install Failure/Error: raise RuntimeError, <<-error_message.strip_heredoc Command #{command.inspect} exited with status #{exitstatus}. Output: #{output.gsub(/^/, ' ')} error_message RuntimeError: Command "bundle install --local" exited with status 1. Output: # ./spec/support/acceptance_test_helpers.rb:170:in `block (2 levels) in run' # ./spec/support/acceptance_test_helpers.rb:162:in `tap' # ./spec/support/acceptance_test_helpers.rb:162:in `block in run' # ./spec/support/acceptance_test_helpers.rb:157:in `chdir' # ./spec/support/acceptance_test_helpers.rb:157:in `in_test_directory' # ./spec/support/acceptance_test_helpers.rb:161:in `run' # ./spec/acceptance/bundle_without_spec.rb:38:in `block (2 levels) in <top (required)>' 5) CLI appraisal clean remove all gemfiles from gemfiles directory Failure/Error: raise RuntimeError, <<-error_message.strip_heredoc Command #{command.inspect} exited with status #{exitstatus}. Output: #{output.gsub(/^/, ' ')} error_message RuntimeError: Command "appraisal install" exited with status 1. Output: >> bundle check --gemfile='/home/alee/sources/rubygems/ruby-team/ruby-appraisal/tmp/stage/gemfiles/1.0.0.gemfile' || bundle install --gemfile='/home/alee/sources/rubygems/ruby-team/ruby-appraisal/tmp/stage/gemfiles/1.0.0.gemfile' --retry 1 # ./spec/support/acceptance_test_helpers.rb:170:in `block (2 levels) in run' # ./spec/support/acceptance_test_helpers.rb:162:in `tap' # ./spec/support/acceptance_test_helpers.rb:162:in `block in run' # ./spec/support/acceptance_test_helpers.rb:157:in `chdir' # ./spec/support/acceptance_test_helpers.rb:157:in `in_test_directory' # ./spec/support/acceptance_test_helpers.rb:161:in `run' # ./spec/acceptance/cli/clean_spec.rb:11:in `block (2 levels) in <top (required)>' 6) CLI appraisal install installs the dependencies Failure/Error: raise RuntimeError, <<-error_message.strip_heredoc Command #{command.inspect} exited with status #{exitstatus}. Output: #{output.gsub(/^/, ' ')} error_message RuntimeError: Command "appraisal install" exited with status 1. Output: >> bundle check --gemfile='/home/alee/sources/rubygems/ruby-team/ruby-appraisal/tmp/stage/gemfiles/1.0.0.gemfile' || bundle install --gemfile='/home/alee/sources/rubygems/ruby-team/ruby-appraisal/tmp/stage/gemfiles/1.0.0.gemfile' --retry 1 # ./spec/support/acceptance_test_helpers.rb:170:in `block (2 levels) in run' # ./spec/support/acceptance_test_helpers.rb:162:in `tap' # ./spec/support/acceptance_test_helpers.rb:162:in `block in run' # ./spec/support/acceptance_test_helpers.rb:157:in `chdir' # ./spec/support/acceptance_test_helpers.rb:157:in `in_test_directory' # ./spec/support/acceptance_test_helpers.rb:161:in `run' # ./spec/acceptance/cli/install_spec.rb:21:in `block (2 levels) in <top (required)>' 7) CLI appraisal install relativize directory in gemfile.lock Failure/Error: raise RuntimeError, <<-error_message.strip_heredoc Command #{command.inspect} exited with status #{exitstatus}. Output: #{output.gsub(/^/, ' ')} error_message RuntimeError: Command "appraisal install" exited with status 1. Output: >> bundle check --gemfile='/home/alee/sources/rubygems/ruby-team/ruby-appraisal/tmp/stage/gemfiles/1.0.0.gemfile' || bundle install --gemfile='/home/alee/sources/rubygems/ruby-team/ruby-appraisal/tmp/stage/gemfiles/1.0.0.gemfile' --retry 1 # ./spec/support/acceptance_test_helpers.rb:170:in `block (2 levels) in run' # ./spec/support/acceptance_test_helpers.rb:162:in `tap' # ./spec/support/acceptance_test_helpers.rb:162:in `block in run' # ./spec/support/acceptance_test_helpers.rb:157:in `chdir' # ./spec/support/acceptance_test_helpers.rb:157:in `in_test_directory' # ./spec/support/acceptance_test_helpers.rb:161:in `run' # ./spec/acceptance/cli/install_spec.rb:37:in `block (2 levels) in <top (required)>' 8) CLI appraisal install with job size accepts --jobs option to set job size Got 0 failures and 2 other errors: 8.1) Failure/Error: Gem::Version.create(Bundler::VERSION) >= Gem::Version.create('1.4.0.pre.1') NameError: uninitialized constant Appraisal::Utils::Bundler Did you mean? Appraisal::BundlerDSL # ./lib/appraisal/utils.rb:5:in `support_parallel_installation?' # ./spec/support/acceptance_test_helpers.rb:19:in `block (2 levels) in <module:AcceptanceTestHelpers>' 8.2) Failure/Error: @original_environment_variables.each_pair do |key, value| ENV[key] = value end NoMethodError: undefined method `each_pair' for nil:NilClass # ./spec/support/acceptance_test_helpers.rb:58:in `restore_environment_variables' # ./spec/support/acceptance_test_helpers.rb:35:in `block (2 levels) in <module:AcceptanceTestHelpers>' 9) CLI appraisal install with job size ignores --jobs option if the job size is less than or equal to 1 Got 0 failures and 2 other errors: 9.1) Failure/Error: Gem::Version.create(Bundler::VERSION) >= Gem::Version.create('1.4.0.pre.1') NameError: uninitialized constant Appraisal::Utils::Bundler Did you mean? Appraisal::BundlerDSL # ./lib/appraisal/utils.rb:5:in `support_parallel_installation?' # ./spec/support/acceptance_test_helpers.rb:19:in `block (2 levels) in <module:AcceptanceTestHelpers>' 9.2) Failure/Error: @original_environment_variables.each_pair do |key, value| ENV[key] = value end NoMethodError: undefined method `each_pair' for nil:NilClass # ./spec/support/acceptance_test_helpers.rb:58:in `restore_environment_variables' # ./spec/support/acceptance_test_helpers.rb:35:in `block (2 levels) in <module:AcceptanceTestHelpers>' 10) CLI appraisal (with arguments) sets APPRAISAL_INITIALIZED environment variable Failure/Error: raise RuntimeError, <<-error_message.strip_heredoc Command #{command.inspect} exited with status #{exitstatus}. Output: #{output.gsub(/^/, ' ')} error_message RuntimeError: Command "appraisal install" exited with status 1. Output: >> bundle check --gemfile='/home/alee/sources/rubygems/ruby-team/ruby-appraisal/tmp/stage/gemfiles/1.0.0.gemfile' || bundle install --gemfile='/home/alee/sources/rubygems/ruby-team/ruby-appraisal/tmp/stage/gemfiles/1.0.0.gemfile' --retry 1 # ./spec/support/acceptance_test_helpers.rb:170:in `block (2 levels) in run' # ./spec/support/acceptance_test_helpers.rb:162:in `tap' # ./spec/support/acceptance_test_helpers.rb:162:in `block in run' # ./spec/support/acceptance_test_helpers.rb:157:in `chdir' # ./spec/support/acceptance_test_helpers.rb:157:in `in_test_directory' # ./spec/support/acceptance_test_helpers.rb:161:in `run' # ./spec/acceptance/cli/run_spec.rb:15:in `block (2 levels) in <top (required)>' 11) CLI appraisal (with arguments) with appraisal name runs the given command against a correct versions of dependency Failure/Error: raise RuntimeError, <<-error_message.strip_heredoc Command #{command.inspect} exited with status #{exitstatus}. Output: #{output.gsub(/^/, ' ')} error_message RuntimeError: Command "appraisal install" exited with status 1. Output: >> bundle check --gemfile='/home/alee/sources/rubygems/ruby-team/ruby-appraisal/tmp/stage/gemfiles/1.0.0.gemfile' || bundle install --gemfile='/home/alee/sources/rubygems/ruby-team/ruby-appraisal/tmp/stage/gemfiles/1.0.0.gemfile' --retry 1 # ./spec/support/acceptance_test_helpers.rb:170:in `block (2 levels) in run' # ./spec/support/acceptance_test_helpers.rb:162:in `tap' # ./spec/support/acceptance_test_helpers.rb:162:in `block in run' # ./spec/support/acceptance_test_helpers.rb:157:in `chdir' # ./spec/support/acceptance_test_helpers.rb:157:in `in_test_directory' # ./spec/support/acceptance_test_helpers.rb:161:in `run' # ./spec/acceptance/cli/run_spec.rb:15:in `block (2 levels) in <top (required)>' 12) CLI appraisal (with arguments) without appraisal name runs the given command against all versions of dependency Failure/Error: raise RuntimeError, <<-error_message.strip_heredoc Command #{command.inspect} exited with status #{exitstatus}. Output: #{output.gsub(/^/, ' ')} error_message RuntimeError: Command "appraisal install" exited with status 1. Output: >> bundle check --gemfile='/home/alee/sources/rubygems/ruby-team/ruby-appraisal/tmp/stage/gemfiles/1.0.0.gemfile' || bundle install --gemfile='/home/alee/sources/rubygems/ruby-team/ruby-appraisal/tmp/stage/gemfiles/1.0.0.gemfile' --retry 1 # ./spec/support/acceptance_test_helpers.rb:170:in `block (2 levels) in run' # ./spec/support/acceptance_test_helpers.rb:162:in `tap' # ./spec/support/acceptance_test_helpers.rb:162:in `block in run' # ./spec/support/acceptance_test_helpers.rb:157:in `chdir' # ./spec/support/acceptance_test_helpers.rb:157:in `in_test_directory' # ./spec/support/acceptance_test_helpers.rb:161:in `run' # ./spec/acceptance/cli/run_spec.rb:15:in `block (2 levels) in <top (required)>' 13) CLI appraisal (with arguments) when one of the arguments contains spaces preserves those spaces Failure/Error: raise RuntimeError, <<-error_message.strip_heredoc Command #{command.inspect} exited with status #{exitstatus}. Output: #{output.gsub(/^/, ' ')} error_message RuntimeError: Command "appraisal install" exited with status 1. Output: >> bundle check --gemfile='/home/alee/sources/rubygems/ruby-team/ruby-appraisal/tmp/stage/gemfiles/1.0.0.gemfile' || bundle install --gemfile='/home/alee/sources/rubygems/ruby-team/ruby-appraisal/tmp/stage/gemfiles/1.0.0.gemfile' --retry 1 # ./spec/support/acceptance_test_helpers.rb:170:in `block (2 levels) in run' # ./spec/support/acceptance_test_helpers.rb:162:in `tap' # ./spec/support/acceptance_test_helpers.rb:162:in `block in run' # ./spec/support/acceptance_test_helpers.rb:157:in `chdir' # ./spec/support/acceptance_test_helpers.rb:157:in `in_test_directory' # ./spec/support/acceptance_test_helpers.rb:161:in `run' # ./spec/acceptance/cli/run_spec.rb:15:in `block (2 levels) in <top (required)>' 14) CLI appraisal update with no arguments updates all the gems Failure/Error: raise RuntimeError, <<-error_message.strip_heredoc Command #{command.inspect} exited with status #{exitstatus}. Output: #{output.gsub(/^/, ' ')} error_message RuntimeError: Command "appraisal install" exited with status 1. Output: >> bundle check --gemfile='/home/alee/sources/rubygems/ruby-team/ruby-appraisal/tmp/stage/gemfiles/dummy.gemfile' || bundle install --gemfile='/home/alee/sources/rubygems/ruby-team/ruby-appraisal/tmp/stage/gemfiles/dummy.gemfile' --retry 1 # ./spec/support/acceptance_test_helpers.rb:170:in `block (2 levels) in run' # ./spec/support/acceptance_test_helpers.rb:162:in `tap' # ./spec/support/acceptance_test_helpers.rb:162:in `block in run' # ./spec/support/acceptance_test_helpers.rb:157:in `chdir' # ./spec/support/acceptance_test_helpers.rb:157:in `in_test_directory' # ./spec/support/acceptance_test_helpers.rb:161:in `run' # ./spec/acceptance/cli/update_spec.rb:14:in `block (2 levels) in <top (required)>' 15) CLI appraisal update with a list of gems only updates specified gems Failure/Error: raise RuntimeError, <<-error_message.strip_heredoc Command #{command.inspect} exited with status #{exitstatus}. Output: #{output.gsub(/^/, ' ')} error_message RuntimeError: Command "appraisal install" exited with status 1. Output: >> bundle check --gemfile='/home/alee/sources/rubygems/ruby-team/ruby-appraisal/tmp/stage/gemfiles/dummy.gemfile' || bundle install --gemfile='/home/alee/sources/rubygems/ruby-team/ruby-appraisal/tmp/stage/gemfiles/dummy.gemfile' --retry 1 # ./spec/support/acceptance_test_helpers.rb:170:in `block (2 levels) in run' # ./spec/support/acceptance_test_helpers.rb:162:in `tap' # ./spec/support/acceptance_test_helpers.rb:162:in `block in run' # ./spec/support/acceptance_test_helpers.rb:157:in `chdir' # ./spec/support/acceptance_test_helpers.rb:157:in `in_test_directory' # ./spec/support/acceptance_test_helpers.rb:161:in `run' # ./spec/acceptance/cli/update_spec.rb:14:in `block (2 levels) in <top (required)>' 16) CLI appraisal version with version subcommand prints out version string Failure/Error: expect(output).to include("Appraisal #{Appraisal::VERSION}") NameError: uninitialized constant Appraisal::VERSION # ./spec/acceptance/cli/version_spec.rb:8:in `block (3 levels) in <top (required)>' 17) CLI appraisal version with -v flag prints out version string Failure/Error: expect(output).to include("Appraisal #{Appraisal::VERSION}") NameError: uninitialized constant Appraisal::VERSION # ./spec/acceptance/cli/version_spec.rb:16:in `block (3 levels) in <top (required)>' 18) CLI appraisal version with --version flag prints out version string Failure/Error: expect(output).to include("Appraisal #{Appraisal::VERSION}") NameError: uninitialized constant Appraisal::VERSION # ./spec/acceptance/cli/version_spec.rb:24:in `block (3 levels) in <top (required)>' 19) CLI appraisal (with no arguments) runs install command Failure/Error: raise RuntimeError, <<-error_message.strip_heredoc Command #{command.inspect} exited with status #{exitstatus}. Output: #{output.gsub(/^/, ' ')} error_message RuntimeError: Command "appraisal" exited with status 1. Output: >> bundle check --gemfile='/home/alee/sources/rubygems/ruby-team/ruby-appraisal/tmp/stage/gemfiles/1.0.0.gemfile' || bundle install --gemfile='/home/alee/sources/rubygems/ruby-team/ruby-appraisal/tmp/stage/gemfiles/1.0.0.gemfile' --retry 1 # ./spec/support/acceptance_test_helpers.rb:170:in `block (2 levels) in run' # ./spec/support/acceptance_test_helpers.rb:162:in `tap' # ./spec/support/acceptance_test_helpers.rb:162:in `block in run' # ./spec/support/acceptance_test_helpers.rb:157:in `chdir' # ./spec/support/acceptance_test_helpers.rb:157:in `in_test_directory' # ./spec/support/acceptance_test_helpers.rb:161:in `run' # ./spec/acceptance/cli/with_no_arguments_spec.rb:11:in `block (2 levels) in <top (required)>' 20) Gemfile DSL compatibility supports all Bundler DSL in Gemfile Failure/Error: raise RuntimeError, <<-error_message.strip_heredoc Command #{command.inspect} exited with status #{exitstatus}. Output: #{output.gsub(/^/, ' ')} error_message RuntimeError: Command "bundle install --local" exited with status 1. Output: # ./spec/support/acceptance_test_helpers.rb:170:in `block (2 levels) in run' # ./spec/support/acceptance_test_helpers.rb:162:in `tap' # ./spec/support/acceptance_test_helpers.rb:162:in `block in run' # ./spec/support/acceptance_test_helpers.rb:157:in `chdir' # ./spec/support/acceptance_test_helpers.rb:157:in `in_test_directory' # ./spec/support/acceptance_test_helpers.rb:161:in `run' # ./spec/acceptance/gemfile_dsl_compatibility_spec.rb:45:in `block (2 levels) in <top (required)>' 21) Gemfile DSL compatibility merges gem requirements Failure/Error: raise RuntimeError, <<-error_message.strip_heredoc Command #{command.inspect} exited with status #{exitstatus}. Output: #{output.gsub(/^/, ' ')} error_message RuntimeError: Command "bundle install --local" exited with status 1. Output: # ./spec/support/acceptance_test_helpers.rb:170:in `block (2 levels) in run' # ./spec/support/acceptance_test_helpers.rb:162:in `tap' # ./spec/support/acceptance_test_helpers.rb:162:in `block in run' # ./spec/support/acceptance_test_helpers.rb:157:in `chdir' # ./spec/support/acceptance_test_helpers.rb:157:in `in_test_directory' # ./spec/support/acceptance_test_helpers.rb:161:in `run' # ./spec/acceptance/gemfile_dsl_compatibility_spec.rb:132:in `block (2 levels) in <top (required)>' 22) Gemfile DSL compatibility supports gemspec in the group block Failure/Error: raise RuntimeError, <<-error_message.strip_heredoc Command #{command.inspect} exited with status #{exitstatus}. Output: #{output.gsub(/^/, ' ')} error_message RuntimeError: Command "bundle install --local" exited with status 1. Output: # ./spec/support/acceptance_test_helpers.rb:170:in `block (2 levels) in run' # ./spec/support/acceptance_test_helpers.rb:162:in `tap' # ./spec/support/acceptance_test_helpers.rb:162:in `block in run' # ./spec/support/acceptance_test_helpers.rb:157:in `chdir' # ./spec/support/acceptance_test_helpers.rb:157:in `in_test_directory' # ./spec/support/acceptance_test_helpers.rb:161:in `run' # ./spec/acceptance/gemfile_dsl_compatibility_spec.rb:158:in `block (2 levels) in <top (required)>' 23) Gemspec supports gemspec syntax with default options Failure/Error: raise RuntimeError, <<-error_message.strip_heredoc Command #{command.inspect} exited with status #{exitstatus}. Output: #{output.gsub(/^/, ' ')} error_message RuntimeError: Command "bundle install --local" exited with status 1. Output: # ./spec/support/acceptance_test_helpers.rb:170:in `block (2 levels) in run' # ./spec/support/acceptance_test_helpers.rb:162:in `tap' # ./spec/support/acceptance_test_helpers.rb:162:in `block in run' # ./spec/support/acceptance_test_helpers.rb:157:in `chdir' # ./spec/support/acceptance_test_helpers.rb:157:in `in_test_directory' # ./spec/support/acceptance_test_helpers.rb:161:in `run' # ./spec/acceptance/gemspec_spec.rb:18:in `block (2 levels) in <top (required)>' 24) Gemspec supports gemspec syntax with path option Failure/Error: raise RuntimeError, <<-error_message.strip_heredoc Command #{command.inspect} exited with status #{exitstatus}. Output: #{output.gsub(/^/, ' ')} error_message RuntimeError: Command "bundle install --local" exited with status 1. Output: # ./spec/support/acceptance_test_helpers.rb:170:in `block (2 levels) in run' # ./spec/support/acceptance_test_helpers.rb:162:in `tap' # ./spec/support/acceptance_test_helpers.rb:162:in `block in run' # ./spec/support/acceptance_test_helpers.rb:157:in `chdir' # ./spec/support/acceptance_test_helpers.rb:157:in `in_test_directory' # ./spec/support/acceptance_test_helpers.rb:161:in `run' # ./spec/acceptance/gemspec_spec.rb:34:in `block (2 levels) in <top (required)>' 25) Appraisal::Appraisal parallel installation runs single install command on Bundler < 1.4.0 Failure/Error: if Bundler.settings[:path] NoMethodError: undefined method `settings' for Bundler:Module # ./lib/appraisal/appraisal.rb:71:in `install' # ./spec/appraisal/appraisal_spec.rb:44:in `block (4 levels) in <top (required)>' # ./spec/support/stream_helpers.rb:11:in `capture' # ./spec/appraisal/appraisal_spec.rb:43:in `block (3 levels) in <top (required)>' 26) Appraisal::Appraisal parallel installation runs parallel install command on Bundler >= 1.4.0 Failure/Error: if Bundler.settings[:path] NoMethodError: undefined method `settings' for Bundler:Module # ./lib/appraisal/appraisal.rb:71:in `install' # ./spec/appraisal/appraisal_spec.rb:55:in `block (3 levels) in <top (required)>' 27) Appraisal::Appraisal parallel installation runs install command with retries on Bundler Failure/Error: if Bundler.settings[:path] NameError: uninitialized constant Appraisal::Appraisal::Bundler Did you mean? Appraisal::BundlerDSL # ./lib/appraisal/appraisal.rb:71:in `install' # ./spec/appraisal/appraisal_spec.rb:62:in `block (3 levels) in <top (required)>' Finished in 43.85 seconds (files took 0.16584 seconds to load) 87 examples, 27 failures Failed examples: rspec ./spec/acceptance/appraisals_file_bundler_dsl_compatibility_spec.rb:4 # Appraisals file Bundler DSL compatibility supports all Bundler DSL in Appraisals file rspec ./spec/acceptance/bundle_with_custom_path_spec.rb:4 # Bundle with custom path supports --path option rspec ./spec/acceptance/bundle_with_custom_path_spec.rb:37 # Bundle with custom path when already installed in vendor/another installs gems in the --path directory rspec ./spec/acceptance/bundle_without_spec.rb:4 # Bundler without flag passes --without flag to Bundler on install rspec ./spec/acceptance/cli/clean_spec.rb:4 # CLI appraisal clean remove all gemfiles from gemfiles directory rspec ./spec/acceptance/cli/install_spec.rb:10 # CLI appraisal install installs the dependencies rspec ./spec/acceptance/cli/install_spec.rb:27 # CLI appraisal install relativize directory in gemfile.lock rspec ./spec/acceptance/cli/install_spec.rb:52 # CLI appraisal install with job size accepts --jobs option to set job size rspec ./spec/acceptance/cli/install_spec.rb:59 # CLI appraisal install with job size ignores --jobs option if the job size is less than or equal to 1 rspec ./spec/acceptance/cli/run_spec.rb:20 # CLI appraisal (with arguments) sets APPRAISAL_INITIALIZED environment variable rspec ./spec/acceptance/cli/run_spec.rb:32 # CLI appraisal (with arguments) with appraisal name runs the given command against a correct versions of dependency rspec ./spec/acceptance/cli/run_spec.rb:41 # CLI appraisal (with arguments) without appraisal name runs the given command against all versions of dependency rspec ./spec/acceptance/cli/run_spec.rb:50 # CLI appraisal (with arguments) when one of the arguments contains spaces preserves those spaces rspec ./spec/acceptance/cli/update_spec.rb:27 # CLI appraisal update with no arguments updates all the gems rspec ./spec/acceptance/cli/update_spec.rb:37 # CLI appraisal update with a list of gems only updates specified gems rspec ./spec/acceptance/cli/version_spec.rb:5 # CLI appraisal version with version subcommand prints out version string rspec ./spec/acceptance/cli/version_spec.rb:13 # CLI appraisal version with -v flag prints out version string rspec ./spec/acceptance/cli/version_spec.rb:21 # CLI appraisal version with --version flag prints out version string rspec ./spec/acceptance/cli/with_no_arguments_spec.rb:4 # CLI appraisal (with no arguments) runs install command rspec ./spec/acceptance/gemfile_dsl_compatibility_spec.rb:4 # Gemfile DSL compatibility supports all Bundler DSL in Gemfile rspec ./spec/acceptance/gemfile_dsl_compatibility_spec.rb:108 # Gemfile DSL compatibility merges gem requirements rspec ./spec/acceptance/gemfile_dsl_compatibility_spec.rb:140 # Gemfile DSL compatibility supports gemspec in the group block rspec ./spec/acceptance/gemspec_spec.rb:9 # Gemspec supports gemspec syntax with default options rspec ./spec/acceptance/gemspec_spec.rb:25 # Gemspec supports gemspec syntax with path option rspec ./spec/appraisal/appraisal_spec.rb:40 # Appraisal::Appraisal parallel installation runs single install command on Bundler < 1.4.0 rspec ./spec/appraisal/appraisal_spec.rb:52 # Appraisal::Appraisal parallel installation runs parallel install command on Bundler >= 1.4.0 rspec ./spec/appraisal/appraisal_spec.rb:61 # Appraisal::Appraisal parallel installation runs install command with retries on Bundler /usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb failed ERROR: Test "ruby2.5" failed. Exiting. dh_auto_install: dh_ruby --install /home/alee/sources/rubygems/ruby-team/ruby-appraisal/debian/ruby-appraisal returned exit code 1 make: *** [debian/rules:6: binary] Error 1 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 debuild: fatal error at line 1182: dpkg-buildpackage -us -uc -ui failed ``` This failed package is ruby-appraisal version 2.2.0. Best regards, -Andrew