-
-
Couldn't load subscription status.
- Fork 1.8k
Closed
Description
Describe the problem as clearly as you can
We use bundler to install the gems on this Gemfile. On v2.3.22, this Gemfile installs the win32-process gem, while on v2.3.23 it does not, breaking our build.
We have temporarily fixed this by pinning bundler DataDog/datadog-agent-buildimages/pull/298.
Did you try upgrading rubygems & bundler?
Yes! This problem is related to upgrading bundler :)
Post steps to reproduce the problem
It seems to be as simple as:
- Install bundler v2.3.23 on Windows (version does not seem to matter, we reproduced it on 1809, 1909, 2004, 20h2 and ltsc2022).
- Run
bundle installwith this Gemfile
Which command did you run?
bundle install
What were you expecting to happen?
Install passes, as with v2.3.22
What actually happened?
Install failed
Logs (click to expand)
cd omnibus && bundle install�[0m
Fetching https://github.com/DataDog/omnibus-software.git
Fetching https://github.com/DataDog/omnibus-ruby.git
Fetching https://github.com/chef/chef-sugar.git
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
Using bundler 2.3.23
Using chef-sugar 3.6.0 from https://github.com/chef/chef-sugar.git (at v3.6.0@956f1d7)
Fetching public_suffix 5.0.0
Fetching awesome_print 1.9.2
Fetching aws-eventstream 1.2.0
Fetching jmespath 1.6.1
Fetching fuzzyurl 0.9.0
Fetching tomlrb 1.3.0
Fetching mixlib-shellout 2.4.4
Fetching citrus 3.0.2
Installing aws-eventstream 1.2.0
Installing jmespath 1.6.1
Installing fuzzyurl 0.9.0
Installing tomlrb 1.3.0
Installing mixlib-shellout 2.4.4
Installing awesome_print 1.9.2
Installing citrus 3.0.2
Installing public_suffix 5.0.0
Fetching cleanroom 1.0.0
Using ffi 1.15.5
Using libyajl2 1.2.0
Fetching mime-types-data 3.2022.0105
Installing cleanroom 1.0.0
Fetching multi_xml 0.6.0
Fetching iostruct 0.0.4
Installing multi_xml 0.6.0
Installing iostruct 0.0.4
Installing mime-types-data 3.2022.0105
Fetching ipaddress 0.8.3
Fetching mixlib-cli 1.7.0
Installing ipaddress 0.8.3
Fetching mixlib-log 1.7.1
Installing mixlib-cli 1.7.0
Installing mixlib-log 1.7.1
Fetching mixlib-versioning 1.2.12
Fetching multipart-post 2.2.3
Installing mixlib-versioning 1.2.12
Installing multipart-post 2.2.3
Fetching plist 3.6.0
Installing plist 3.6.0
Fetching systemu 2.6.5
Fetching wmi-lite 1.0.7
Fetching rainbow 3.1.1
Installing wmi-lite 1.0.7
Installing systemu 2.6.5
Installing rainbow 3.1.1
Fetching zhexdump 0.0.2
Fetching ruby-progressbar 1.11.0
Installing zhexdump 0.0.2
Fetching thor 0.20.3
Installing ruby-progressbar 1.11.0
Installing thor 0.20.3
Using omnibus-software 4.0.0 from https://github.com/DataDog/omnibus-software.git (at master@c32452f)
Fetching ffi-yajl 2.3.4
Fetching mixlib-config 2.2.18
Fetching aws-sigv4 1.5.2
Fetching mime-types 3.4.1
Installing mixlib-config 2.2.18
Fetching addressable 2.8.1
Installing aws-sigv4 1.5.2
Installing mime-types 3.4.1
Installing addressable 2.8.1
Fetching toml-rb 2.2.0
Fetching aws-sdk-core 2.11.632
Installing toml-rb 2.2.0
Installing aws-sdk-core 2.11.632
Fetching chef-config 13.12.14
Fetching httparty 0.20.0
Installing chef-config 13.12.14
Fetching pedump 0.6.5
Installing httparty 0.20.0
Installing pedump 0.6.5
Installing ffi-yajl 2.3.4 with native extensions
Fetching aws-sdk-resources 2.11.632
Installing aws-sdk-resources 2.11.632
Fetching aws-sdk 2.11.632
Installing aws-sdk 2.11.632
Fetching license_scout 1.2.16
Fetching ohai 8.26.1
Installing license_scout 1.2.16
Installing ohai 8.26.1
Using omnibus 5.5.0 from https://github.com/DataDog/omnibus-ruby.git (at datadog-5.5.0@2d8c376)
Bundle complete! 4 Gemfile dependencies, 44 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from aws-sdk-core:
AWS SDK For Ruby V2 has been marked as deprecated. Please upgrade to AWS SDK For Ruby V3.
Post-install message from aws-sdk-resources:
AWS SDK For Ruby V2 has been marked as deprecated. Please upgrade to AWS SDK For Ruby V3.
Post-install message from aws-sdk:
AWS SDK For Ruby V2 has been marked as deprecated. Please upgrade to AWS SDK For Ruby V3.
Post-install message from httparty:
When you HTTParty, you must party hard!
c:/tools/ruby/lib/ruby/gems/2.6.0/gems/mixlib-shellout-2.4.4/lib/mixlib/shellout/windows.rb:21:in `require': cannot load such file -- win32/process (LoadError)
from c:/tools/ruby/lib/ruby/gems/2.6.0/gems/mixlib-shellout-2.4.4/lib/mixlib/shellout/windows.rb:21:in `<top (required)>'
from c:/tools/ruby/lib/ruby/gems/2.6.0/gems/mixlib-shellout-2.4.4/lib/mixlib/shellout.rb:32:in `require'
from c:/tools/ruby/lib/ruby/gems/2.6.0/gems/mixlib-shellout-2.4.4/lib/mixlib/shellout.rb:32:in `<class:ShellOut>'
from c:/tools/ruby/lib/ruby/gems/2.6.0/gems/mixlib-shellout-2.4.4/lib/mixlib/shellout.rb:26:in `<module:Mixlib>'
from c:/tools/ruby/lib/ruby/gems/2.6.0/gems/mixlib-shellout-2.4.4/lib/mixlib/shellout.rb:24:in `<top (required)>'
from c:/tools/ruby/lib/ruby/gems/2.6.0/bundler/gems/omnibus-ruby-2d8c37625edb/lib/omnibus/util.rb:17:in `require'
from c:/tools/ruby/lib/ruby/gems/2.6.0/bundler/gems/omnibus-ruby-2d8c37625edb/lib/omnibus/util.rb:17:in `<top (required)>'
from c:/tools/ruby/lib/ruby/gems/2.6.0/bundler/gems/omnibus-ruby-2d8c37625edb/lib/omnibus/git_repository.rb:1:in `require'
from c:/tools/ruby/lib/ruby/gems/2.6.0/bundler/gems/omnibus-ruby-2d8c37625edb/lib/omnibus/git_repository.rb:1:in `<top (required)>'
from c:/tools/ruby/lib/ruby/gems/2.6.0/bundler/gems/omnibus-ruby-2d8c37625edb/lib/omnibus/changelog.rb:1:in `require'
from c:/tools/ruby/lib/ruby/gems/2.6.0/bundler/gems/omnibus-ruby-2d8c37625edb/lib/omnibus/changelog.rb:1:in `<top (required)>'
from c:/tools/ruby/lib/ruby/gems/2.6.0/bundler/gems/omnibus-ruby-2d8c37625edb/lib/omnibus/cli/changelog.rb:17:in `require'
from c:/tools/ruby/lib/ruby/gems/2.6.0/bundler/gems/omnibus-ruby-2d8c37625edb/lib/omnibus/cli/changelog.rb:17:in `<top (required)>'
from c:/tools/ruby/lib/ruby/gems/2.6.0/bundler/gems/omnibus-ruby-2d8c37625edb/lib/omnibus/cli.rb:101:in `require'
from c:/tools/ruby/lib/ruby/gems/2.6.0/bundler/gems/omnibus-ruby-2d8c37625edb/lib/omnibus/cli.rb:101:in `<class:CLI>'
from c:/tools/ruby/lib/ruby/gems/2.6.0/bundler/gems/omnibus-ruby-2d8c37625edb/lib/omnibus/cli.rb:22:in `<module:Omnibus>'
from c:/tools/ruby/lib/ruby/gems/2.6.0/bundler/gems/omnibus-ruby-2d8c37625edb/lib/omnibus/cli.rb:21:in `<top (required)>'
from c:/tools/ruby/lib/ruby/gems/2.6.0/bundler/gems/omnibus-ruby-2d8c37625edb/bin/omnibus:10:in `require'
from c:/tools/ruby/lib/ruby/gems/2.6.0/bundler/gems/omnibus-ruby-2d8c37625edb/bin/omnibus:10:in `<top (required)>'
from c:/tools/ruby/lib/ruby/gems/2.6.0/bin/omnibus:23:in `load'
from c:/tools/ruby/lib/ruby/gems/2.6.0/bin/omnibus:23:in `<main>'
If not included with the output of your command, run bundle env and paste the output below
n/a at the moment, I can fetch it if necessary