Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency Issue puffing billy bundler told me to report #4203

Closed
Judimax opened this issue Dec 26, 2020 · 29 comments
Closed

Dependency Issue puffing billy bundler told me to report #4203

Judimax opened this issue Dec 26, 2020 · 29 comments

Comments

@Judimax
Copy link

Judimax commented Dec 26, 2020

Error Report

Questions

Please fill out answers to these questions, it'll help us figure out
why things are going wrong.

  • What did you do?

A dependency for puffing_billy was not installing so I deleted Gemfile.lock to see if I can get things to work
I ran the command c:/Users/oluod/.gem/ruby/2.7.0/bin/bundle install --redownload --path=C:\Users\oluod\My_Notebook\cases\FinancialUpwardCase\Youtube\codequickie\capybara_and_puffing_billy\AngularApp\testing\e2e

  • What did you expect to happen?

    I expected Bundler to Install things as normal

  • What happened instead?

    Instead, it indicates theres something I need to do to make sure "`gem install eventmachine -v '1.2.7' --source" succesds

  • Have you tried any solutions posted on similar issues in our issue tracker, stack overflow, or google?

    I tried...

  • Have you read our issues document, https://github.com/rubygems/rubygems/blob/master/bundler/doc/contributing/ISSUES.md?

    ...

Backtrace

Errno::ENOENT: No such file or directory @ rb_sysopen - C:/Users/oluod/My_Notebook/cases/FinancialUpwardCase/Youtube/codequickie/capybara_and_puffing_billy/AngularApp/testing/e2e/ruby/2.7.0/gems/eventmachine-1.2.7-x64-mingw32/examples/guides/getting_started/02_eventmachine_echo_server_that_recognizes_exit_command.rb
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/2.7.0/rubygems/package.rb:440:in `initialize'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/2.7.0/rubygems/package.rb:440:in `open'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/2.7.0/rubygems/package.rb:440:in `block (2 levels) in extract_tar_gz'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/2.7.0/rubygems/package/tar_reader.rb:67:in `each'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/2.7.0/rubygems/package.rb:421:in `block in extract_tar_gz'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/2.7.0/rubygems/package.rb:550:in `block in open_tar_gz'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/2.7.0/rubygems/package.rb:547:in `wrap'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/2.7.0/rubygems/package.rb:547:in `open_tar_gz'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/2.7.0/rubygems/package.rb:420:in `extract_tar_gz'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/2.7.0/rubygems/package.rb:400:in `block (2 levels) in extract_files'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/2.7.0/rubygems/package/tar_reader.rb:67:in `each'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/2.7.0/rubygems/package.rb:397:in `block in extract_files'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/2.7.0/rubygems/package/file_source.rb:30:in `open'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/2.7.0/rubygems/package/file_source.rb:30:in `with_read_io'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/2.7.0/rubygems/package.rb:394:in `extract_files'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/2.7.0/rubygems/installer.rb:865:in `extract_files'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/2.7.0/rubygems/installer.rb:325:in `install'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/source/rubygems.rb:158:in `install'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer/gem_installer.rb:67:in `install'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer/gem_installer.rb:18:in `install_from_spec'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer/parallel_installer.rb:163:in `do_install'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer/parallel_installer.rb:148:in `install_serially'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer/parallel_installer.rb:99:in `call'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer/parallel_installer.rb:78:in `call'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer.rb:285:in `install_in_parallel'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer.rb:209:in `install'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer.rb:91:in `block in run'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/process_lock.rb:12:in `block in lock'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/process_lock.rb:9:in `open'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/process_lock.rb:9:in `lock'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer.rb:72:in `run'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer.rb:24:in `install'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/cli/install.rb:64:in `run'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/cli.rb:262:in `block in install'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/settings.rb:115:in `temporary'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/cli.rb:261:in `install'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/exe/bundle:49:in `block in <top (required)>'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/exe/bundle:37:in `<top (required)>'
  c:/Users/oluod/.gem/ruby/2.7.0/bin/bundle:23:in `load'
  c:/Users/oluod/.gem/ruby/2.7.0/bin/bundle:23:in `<main>'

Environment

Bundler       2.2.3
  Platforms   ruby, x64-mingw32
Ruby          2.7.2p137 (2020-10-01 revision 5445e0435260b449decf2ac16f9d09bae3cafe72) [x64-mingw32]
  Full Path   C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/bin/ruby.exe
  Config Dir  C:/ProgramData
RubyGems      3.1.4
  Gem Home    C:/Users/oluod/My_Notebook/cases/FinancialUpwardCase/Youtube/codequickie/capybara_and_puffing_billy/AngularApp/testing/e2e/ruby/2.7.0
  Gem Path    C:/Users/oluod/My_Notebook/cases/FinancialUpwardCase/Youtube/codequickie/capybara_and_puffing_billy/AngularApp/testing/e2e/ruby/2.7.0
  User Home   C:/Users/oluod
  User Path   C:/Users/oluod/.gem/ruby/2.7.0
  Bin Dir     C:/Users/oluod/My_Notebook/cases/FinancialUpwardCase/Youtube/codequickie/capybara_and_puffing_billy/AngularApp/testing/e2e/ruby/2.7.0/bin
OpenSSL
  Compiled    OpenSSL 1.1.1g  21 Apr 2020
  Loaded      OpenSSL 1.1.1h  22 Sep 2020
  Cert File   C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/ssl/cert.pem
  Cert Dir    C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/ssl/certs
Tools
  Git         not installed
  RVM         not installed
  rbenv       not installed
  chruby      not installed

Bundler Build Metadata

Built At          2020-12-22
Git SHA           29dc3c8398
Released Version  true

Bundler settings

path
  Set for your local app (C:/Users/oluod/My_Notebook/cases/FinancialUpwardCase/Youtube/codequickie/vids/capybara_and_puffing_billy/AngularApp/testing/e2e/.bundle/config): "C:\\Users\\oluod\\My_Notebook\\cases\\FinancialUpwardCase\\Youtube\\codequickie\\capybara_and_puffing_billy\\AngularApp\\testing\\e2e"

Gemfile

Gemfile

# frozen_string_literal: true

source "https://rubygems.org"

git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }

# gem "rails"


# frozen_string_literal: true

gem 'capybara'
gem 'ffi'
gem 'rspec'
gem 'rails_helper'
gem 'rake'
gem 'percy-capybara', '~> 4.3.3'
gem 'sauce_whisk'
gem 'selenium-webdriver'
gem 'puffing-billy',:group => :test

Gemfile.lock

<No C:/Users/oluod/My_Notebook/cases/FinancialUpwardCase/Youtube/codequickie/vids/capybara_and_puffing_billy/AngularApp/testing/e2e/Gemfile.lock found>
@deivid-rodriguez
Copy link
Member

Hi @MichaelOdumosu57! Thanks for reporting this. I think this is the same report as #4197. Does it still happen if you upgrade rubygems using gem update --system?

@Judimax
Copy link
Author

Judimax commented Dec 26, 2020

Lemme attempt, the difference there was the dev end user was not permitted

@Judimax
Copy link
Author

Judimax commented Dec 26, 2020

Still came up with the same error

@deivid-rodriguez
Copy link
Member

Could you copy the new error?

@MSP-Greg
Copy link
Contributor

MSP-Greg commented Dec 26, 2020

@MichaelOdumosu57

You're trying to install eventmachine, and Bundler is using eventmachine-1.2.7-x64-mingw32.gem. That gem was not built correctly, as it has no upper Ruby version limit. It only includes binaries (*.so files) for Ruby versions 2.0 thru 2.3. Also, eventmachine supports ssl, but that gem isn't built with ssl support.

So, Bundler will install it, but it doesn't run/load.

You need to force bundler to use the equivalent of RubyGem's --platform=ruby, and have a correctly installed DevKit. I just switched to a new desktop, and I'm not sure of the bundler config syntax. I think it's something like:

bundle config set install.eventmachine --platform=ruby

@deivid-rodriguez?

@Judimax
Copy link
Author

Judimax commented Dec 26, 2020

@deivid-rodriguez
@MSP-Greg, not to sure about the advanced bundler configuration
also what about the deprecation for using the path flag, rubygems wants me to place in the .config with their cli command instead

Error Report

Questions

Please fill out answers to these questions, it'll help us figure out
why things are going wrong.

  • What did you do?

    I ran the command c:/Users/oluod/.gem/ruby/2.7.0/bin/bundler install --redownload --path=C:\Users\oluod\My_Notebook\cases\FinancialUpwardCase\Youtube\codequickie\vids\capybara_and_puffing_billy\AngularApp\testing\e2e

  • What did you expect to happen?

    I expected Bundler to...

  • What happened instead?

    Instead, what happened was...

  • Have you tried any solutions posted on similar issues in our issue tracker, stack overflow, or google?

    I tried...

  • Have you read our issues document, https://github.com/rubygems/rubygems/blob/master/bundler/doc/contributing/ISSUES.md?

    ...

Backtrace

Errno::ENOENT: No such file or directory @ rb_sysopen - C:/Users/oluod/My_Notebook/cases/FinancialUpwardCase/Youtube/codequickie/vids/capybara_and_puffing_billy/AngularApp/testing/e2e/ruby/2.7.0/gems/eventmachine-1.2.7-x64-mingw32/examples/guides/getting_started/02_eventmachine_echo_server_that_recognizes_exit_command.rb        
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package.rb:431:in `initialize'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package.rb:431:in `open'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package.rb:431:in `block (2 levels) in extract_tar_gz'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package/tar_reader.rb:65:in `each'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package.rb:412:in `block in extract_tar_gz'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package.rb:541:in `block in open_tar_gz'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package.rb:538:in `wrap'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package.rb:538:in `open_tar_gz'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package.rb:411:in `extract_tar_gz'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package.rb:391:in `block (2 levels) in extract_files'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package/tar_reader.rb:65:in `each'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package.rb:388:in `block in extract_files'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package/file_source.rb:29:in `open'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package/file_source.rb:29:in `with_read_io'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package.rb:385:in `extract_files'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/installer.rb:830:in `extract_files'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/installer.rb:310:in `install'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/source/rubygems.rb:158:in `install'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer/gem_installer.rb:67:in `install'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer/gem_installer.rb:18:in `install_from_spec'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer/parallel_installer.rb:163:in `do_install'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer/parallel_installer.rb:148:in `install_serially'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer/parallel_installer.rb:99:in `call'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer/parallel_installer.rb:78:in `call'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer.rb:285:in `install_in_parallel'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer.rb:209:in `install'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer.rb:91:in `block in run'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/process_lock.rb:12:in `block in lock'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/process_lock.rb:9:in `open'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/process_lock.rb:9:in `lock'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer.rb:72:in `run'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer.rb:24:in `install'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/cli/install.rb:64:in `run'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/cli.rb:262:in `block in install'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/settings.rb:115:in `temporary'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/cli.rb:261:in `install'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/exe/bundle:49:in `block in <top (required)>'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/exe/bundle:37:in `<top (required)>'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/exe/bundler:4:in `load'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/exe/bundler:4:in `<top (required)>'
  c:/Users/oluod/.gem/ruby/2.7.0/bin/bundler:23:in `load'
  c:/Users/oluod/.gem/ruby/2.7.0/bin/bundler:23:in `<main>'

Environment

Bundler       2.2.3
  Platforms   ruby, x64-mingw32
Ruby          2.7.2p137 (2020-10-01 revision 5445e0435260b449decf2ac16f9d09bae3cafe72) [x64-mingw32]
  Full Path   C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/bin/ruby.exe
  Config Dir  C:/ProgramData
RubyGems      3.2.3
  Gem Home    C:/Users/oluod/My_Notebook/cases/FinancialUpwardCase/Youtube/codequickie/vids/capybara_and_puffing_billy/AngularApp/testing/e2e/ruby/2.7.0
  Gem Path    C:/Users/oluod/My_Notebook/cases/FinancialUpwardCase/Youtube/codequickie/vids/capybara_and_puffing_billy/AngularApp/testing/e2e/ruby/2.7.0
  User Home   C:/Users/oluod
  User Path   C:/Users/oluod/.gem/ruby/2.7.0
  Bin Dir     C:/Users/oluod/My_Notebook/cases/FinancialUpwardCase/Youtube/codequickie/vids/capybara_and_puffing_billy/AngularApp/testing/e2e/ruby/2.7.0/bin
OpenSSL
  Compiled    OpenSSL 1.1.1g  21 Apr 2020
  Loaded      OpenSSL 1.1.1h  22 Sep 2020
  Cert File   C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/ssl/cert.pem
  Cert Dir    C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/ssl/certs
Tools
  Git         not installed
  RVM         not installed
  rbenv       not installed
  chruby      not installed

Bundler Build Metadata

Built At          2020-12-22
Git SHA           29dc3c8398
Released Version  true

Bundler settings

path
  Set for your local app (C:/Users/oluod/My_Notebook/cases/FinancialUpwardCase/Youtube/codequickie/vids/capybara_and_puffing_billy/AngularApp/testing/e2e/.bundle/config): "C:\\Users\\oluod\\My_Notebook\\cases\\FinancialUpwardCase\\Youtube\\codequickie\\vids\\capybara_and_puffing_billy\\AngularApp\\testing\\e2e"

Gemfile

Gemfile

# frozen_string_literal: true

source "https://rubygems.org"

git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }

# gem "rails"


# frozen_string_literal: true

gem 'capybara'
gem 'ffi'
gem 'rspec'
gem 'rails_helper'
gem 'rake'
gem 'percy-capybara', '~> 4.3.3'
gem 'sauce_whisk'
gem 'selenium-webdriver'
gem 'puffing-billy',:group => :test

Gemfile.lock

<No C:/Users/oluod/My_Notebook/cases/FinancialUpwardCase/Youtube/codequickie/vids/capybara_and_puffing_billy/AngularApp/testing/e2e/Gemfile.lock found>

@deivid-rodriguez
Copy link
Member

@MichaelOdumosu57 Does it also happen if you run bundle install --jobs 1?

@MSP-Greg
Copy link
Contributor

@MichaelOdumosu57

I tried this locally. The only way I found to do it was:

  1. Run bundle install, as I think you've done
  2. Open Gemfile.lock and change eventmachine (1.2.7-x64-mingw32) to eventmachine (1.2.7)
  3. Run bundle install again
  4. Run bundle clean

@deivid-rodriguez
Copy link
Member

Yeah, I think this is due to now having correct platform specific variant selection 🤣. This essentially surfaces a bug in the platform specific gem that should specificy an upper bound on ruby 3 if it's broken on it. A way to alleviate this issue is: #4049. I'll look into revisiting that.

Still, the error seems weird, why is it failing on install? Shouldn't if fail at runtime? That's why I was thinking it could be a threading issue.

@Judimax
Copy link
Author

Judimax commented Dec 26, 2020

I use bundle install --path="path/to/project", since I dont want to corrupt the per user or system installation.
If the bundle install step fails, the Gemfile.lock is not created

@deivid-rodriguez
Copy link
Member

Sure, I understand. Did you try with the --jobs flag and it still failed?

@Judimax
Copy link
Author

Judimax commented Dec 27, 2020

still failed
Unfortunately, an unexpected error occurred, and Bundler cannot continue.

First, try this link to see if there are any existing issue reports for this error:
https://github.com/rubygems/rubygems/search?q=No+such+file+or+directory+%40+rb_sysopen+-+C+%2FUsers%2Foluod%2FMy_Notebook%2Fcases%2FFinancialUpwardCase%2FYoutube%2Fcodequickie%2Fvids%2Fcapybara_and_puffing_billy%2FAngularApp%2Ftesting%2Fe2e%2Fruby%2F2.7.0%2Fgems%2Feventmachine-1.2.7-x64-mingw32%2Fexamples%2Fguides%2Fgetting_started%2F02_eventmachine_echo_server_that_recognizes_exit_command.rb&type=Issues

If there aren't any reports for this error yet, please create copy and paste the report template above into a new issue. Don't forget to anonymize any private data!
The new issue form is located at:
https://github.com/rubygems/rubygems/issues/new?labels=Bundler
PS C:\Users\oluod\My_Notebook\cases\FinancialUpwardCase\Youtube\codequickie\vids\capybara_and_puffing_billy\AngularApp\testing\e2e> bundle install --jobs 1
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
Using rake 13.0.3
Using public_suffix 4.0.6
Using addressable 2.7.0
Using bundler 2.2.3
Using mini_mime 1.0.2
Using mini_portile2 2.4.0
Using nokogiri 1.10.10 (x64-mingw32)
Using rack 2.2.3
Using rack-test 1.1.0
Using regexp_parser 1.8.2
Using xpath 3.2.0
Using capybara 3.34.0
Using childprocess 3.0.0
Using cookiejar 0.3.3
Using diff-lcs 1.4.4
Using unf_ext 0.0.7.7 (x64-mingw32)
Using unf 0.1.4
Using domain_name 0.5.20190701
Fetching eventmachine 1.2.7 (x64-mingw32)
Installing eventmachine 1.2.7 (x64-mingw32)
--- ERROR REPORT TEMPLATE -------------------------------------------------------

Error Report

Questions

Please fill out answers to these questions, it'll help us figure out
why things are going wrong.

  • What did you do?

    I ran the command c:/Users/oluod/.gem/ruby/2.7.0/bin/bundle install --jobs 1

  • What did you expect to happen?

    I expected Bundler to...

  • What happened instead?

    Instead, what happened was...

  • Have you tried any solutions posted on similar issues in our issue tracker, stack overflow, or google?

    I tried...

  • Have you read our issues document, https://github.com/rubygems/rubygems/blob/master/bundler/doc/contributing/ISSUES.md?

    ...

Backtrace

Errno::ENOENT: No such file or directory @ rb_sysopen - C:/Users/oluod/My_Notebook/cases/FinancialUpwardCase/Youtube/codequickie/vids/capybara_and_puffing_billy/AngularApp/testing/e2e/ruby/2.7.0/gems/eventmachine-1.2.7-x64-mingw32/examples/guides/getting_started/02_eventmachine_echo_server_that_recognizes_exit_command.rb        
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package.rb:431:in `initialize'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package.rb:431:in `open'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package.rb:431:in `block (2 levels) in extract_tar_gz'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package/tar_reader.rb:65:in `each'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package.rb:412:in `block in extract_tar_gz'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package.rb:541:in `block in open_tar_gz'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package.rb:538:in `wrap'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package.rb:538:in `open_tar_gz'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package.rb:411:in `extract_tar_gz'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package.rb:391:in `block (2 levels) in extract_files'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package/tar_reader.rb:65:in `each'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package.rb:388:in `block in extract_files'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package/file_source.rb:29:in `open'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package/file_source.rb:29:in `with_read_io'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package.rb:385:in `extract_files'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/installer.rb:830:in `extract_files'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/installer.rb:310:in `install'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/source/rubygems.rb:158:in `install'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer/gem_installer.rb:67:in `install'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer/gem_installer.rb:18:in `install_from_spec'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer/parallel_installer.rb:163:in `do_install'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer/parallel_installer.rb:148:in `install_serially'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer/parallel_installer.rb:99:in `call'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer/parallel_installer.rb:78:in `call'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer.rb:285:in `install_in_parallel'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer.rb:209:in `install'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer.rb:91:in `block in run'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/process_lock.rb:12:in `block in lock'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/process_lock.rb:9:in `open'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/process_lock.rb:9:in `lock'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer.rb:72:in `run'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer.rb:24:in `install'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/cli/install.rb:64:in `run'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/cli.rb:262:in `block in install'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/settings.rb:115:in `temporary'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/cli.rb:261:in `install'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/exe/bundle:49:in `block in <top (required)>'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/exe/bundle:37:in `<top (required)>'
  c:/Users/oluod/.gem/ruby/2.7.0/bin/bundle:23:in `load'
  c:/Users/oluod/.gem/ruby/2.7.0/bin/bundle:23:in `<main>'

Environment

Bundler       2.2.3
  Platforms   ruby, x64-mingw32
Ruby          2.7.2p137 (2020-10-01 revision 5445e0435260b449decf2ac16f9d09bae3cafe72) [x64-mingw32]
  Full Path   C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/bin/ruby.exe
  Config Dir  C:/ProgramData
RubyGems      3.2.3
  Gem Home    C:/Users/oluod/My_Notebook/cases/FinancialUpwardCase/Youtube/codequickie/vids/capybara_and_puffing_billy/AngularApp/testing/e2e/ruby/2.7.0
  Gem Path    C:/Users/oluod/My_Notebook/cases/FinancialUpwardCase/Youtube/codequickie/vids/capybara_and_puffing_billy/AngularApp/testing/e2e/ruby/2.7.0
  User Home   C:/Users/oluod
  User Path   C:/Users/oluod/.gem/ruby/2.7.0
  Bin Dir     C:/Users/oluod/My_Notebook/cases/FinancialUpwardCase/Youtube/codequickie/vids/capybara_and_puffing_billy/AngularApp/testing/e2e/ruby/2.7.0/bin
OpenSSL
  Compiled    OpenSSL 1.1.1g  21 Apr 2020
  Loaded      OpenSSL 1.1.1h  22 Sep 2020
  Cert File   C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/ssl/cert.pem
  Cert Dir    C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/ssl/certs
Tools
  Git         not installed
  RVM         not installed
  rbenv       not installed
  chruby      not installed

Bundler Build Metadata

Built At          2020-12-22
Git SHA           29dc3c8398
Released Version  true

Bundler settings

path
  Set for your local app (C:/Users/oluod/My_Notebook/cases/FinancialUpwardCase/Youtube/codequickie/vids/capybara_and_puffing_billy/AngularApp/testing/e2e/.bundle/config): "C:\\\\\\\\Users\\\\\\\\oluod\\\\\\\\My_Notebook\\\\\\\\cases\\\\\\\\FinancialUpwardCase\\\\\\\\Youtube\\\\\\\\codequickie\\\\\\\\vids\\\\\\\\capybara_and_puffing_billy\\\\\\\\AngularApp\\\\\\\\testing\\\\\\\\e2e"
jobs
  Set for your local app (C:/Users/oluod/My_Notebook/cases/FinancialUpwardCase/Youtube/codequickie/vids/capybara_and_puffing_billy/AngularApp/testing/e2e/.bundle/config): 1

Gemfile

Gemfile

# frozen_string_literal: true

source "https://rubygems.org"

git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }

# gem "rails"


# frozen_string_literal: true

gem 'capybara'
gem 'ffi'
gem 'rspec'
gem 'rails_helper'
gem 'rake'
gem 'percy-capybara', '~> 4.3.3'
gem 'sauce_whisk'
gem 'selenium-webdriver'
# gem 'eventmachine', :platforms => :ruby
gem 'puffing-billy', '~> 2.3', '>= 2.3.1'

Gemfile.lock

GEM
  remote: https://rubygems.org/
  specs:
    eventmachine (1.2.7)

PLATFORMS
  x64-mingw32

DEPENDENCIES
  eventmachine

BUNDLED WITH
   2.2.3

@Judimax
Copy link
Author

Judimax commented Dec 27, 2020

something is getting notciable worse, mabye I should have listened to the path deprecation
how corrupted is my ruby instaallation now , scrool all the way right

path
  Set for your local app (C:/Users/oluod/My_Notebook/cases/FinancialUpwardCase/Youtube/codequickie/vids/capybara_and_puffing_billy/AngularApp/testing/e2e/.bundle/config): "C:\\\\\\\\\\\\\\\\Users\\\\\\\\\\\\\\\\oluod\\\\\\\\\\\\\\\\My_Notebook\\\\\\\\\\\\\\\\cases\\\\\\\\\\\\\\\\FinancialUpwardCase\\\\\\\\\\\\\\\\Youtube\\\\\\\\\\\\\\\\codequickie\\\\\\\\\\\\\\\\vids\\\\\\\\\\\\\\\\capybara_and_puffing_billy\\\\\\\\\\\\\\\\AngularApp\\\\\\\\\\\\\\\\testing\\\\\\\\\\\\\\\\e2e"
jobs
  Set for your local app (C:/Users/oluod/My_Notebook/cases/FinancialUpwardCase/Youtube/codequickie/vids/capybara_and_puffing_billy/AngularApp/testing/e2e/.bundle/config): 1

@deivid-rodriguez
Copy link
Member

deivid-rodriguez commented Dec 27, 2020

And does it work if you configure force_ruby_platform with bundle config set --local force_ruby_platform true?

@Judimax
Copy link
Author

Judimax commented Dec 27, 2020

It would try to overwrite, nokogiri,unf_ext,ffi and other dependencies, depended on x64-mingw32, I'll try to do seperte for each
interestingly it would do json with native extension, mabye there is no x4-mingw32 platform for that gem. I noted you left out the true from the code block

@Judimax
Copy link
Author

Judimax commented Dec 27, 2020

it did not try ton install the x64-mingw32 platform however it falied
why is the bundle config path getting more corrupted with slashes
every time I hit bundle install the path would get an aditional "\", quite because the issue starts is about file paths

Error Report

Questions

Please fill out answers to these questions, it'll help us figure out
why things are going wrong.

  • What did you do?

    I ran the command c:/Users/oluod/.gem/ruby/2.7.0/bin/bundle install --jobs 1

  • What did you expect to happen?

    I expected Bundler to...

  • What happened instead?

    Instead, what happened was...

  • Have you tried any solutions posted on similar issues in our issue tracker, stack overflow, or google?

    I tried...

  • Have you read our issues document, https://github.com/rubygems/rubygems/blob/master/bundler/doc/contributing/ISSUES.md?

    ...

Backtrace

Errno::ENOENT: No such file or directory @ rb_sysopen - C:/Users/oluod/My_Notebook/cases/FinancialUpwardCase/Youtube/codequickie/vids/capybara_and_puffing_billy/AngularApp/testing/e2e/ruby/2.7.0/gems/http_parser.rb-0.6.0/ext/ruby_http_parser/vendor/http-parser-java/src/impl/http_parser/lolevel/HTTPDataCallback.java
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package.rb:431:in `initialize'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package.rb:431:in `open'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package.rb:431:in `block (2 levels) in extract_tar_gz'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package/tar_reader.rb:65:in `each'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package.rb:412:in `block in extract_tar_gz'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package.rb:541:in `block in open_tar_gz'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package.rb:538:in `wrap'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package.rb:538:in `open_tar_gz'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package.rb:411:in `extract_tar_gz'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package.rb:391:in `block (2 levels) in extract_files'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package/tar_reader.rb:65:in `each'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package.rb:388:in `block in extract_files'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package/file_source.rb:29:in `open'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package/file_source.rb:29:in `with_read_io'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/package.rb:385:in `extract_files'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/installer.rb:830:in `extract_files'
  C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/lib/ruby/site_ruby/2.7.0/rubygems/installer.rb:310:in `install'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/source/rubygems.rb:158:in `install'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer/gem_installer.rb:67:in `install'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer/gem_installer.rb:18:in `install_from_spec'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer/parallel_installer.rb:163:in `do_install'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer/parallel_installer.rb:148:in `install_serially'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer/parallel_installer.rb:99:in `call'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer/parallel_installer.rb:78:in `call'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer.rb:285:in `install_in_parallel'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer.rb:209:in `install'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer.rb:91:in `block in run'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/process_lock.rb:12:in `block in lock'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/process_lock.rb:9:in `open'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/process_lock.rb:9:in `lock'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer.rb:72:in `run'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/installer.rb:24:in `install'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/cli/install.rb:64:in `run'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/cli.rb:262:in `block in install'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/settings.rb:115:in `temporary'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/cli.rb:261:in `install'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/cli.rb:30:in `dispatch'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/cli.rb:24:in `start'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/exe/bundle:49:in `block in <top (required)>'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'
  C:/Users/oluod/.gem/ruby/2.7.0/gems/bundler-2.2.3/exe/bundle:37:in `<top (required)>'
  c:/Users/oluod/.gem/ruby/2.7.0/bin/bundle:23:in `load'
  c:/Users/oluod/.gem/ruby/2.7.0/bin/bundle:23:in `<main>'

Environment

Bundler       2.2.3
  Platforms   ruby, x64-mingw32
Ruby          2.7.2p137 (2020-10-01 revision 5445e0435260b449decf2ac16f9d09bae3cafe72) [x64-mingw32]
  Full Path   C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/bin/ruby.exe
  Config Dir  C:/ProgramData
RubyGems      3.2.3
  Gem Home    C:/Users/oluod/My_Notebook/cases/FinancialUpwardCase/Youtube/codequickie/vids/capybara_and_puffing_billy/AngularApp/testing/e2e/ruby/2.7.0
  Gem Path    C:/Users/oluod/My_Notebook/cases/FinancialUpwardCase/Youtube/codequickie/vids/capybara_and_puffing_billy/AngularApp/testing/e2e/ruby/2.7.0
  User Home   C:/Users/oluod
  User Path   C:/Users/oluod/.gem/ruby/2.7.0
  Bin Dir     C:/Users/oluod/My_Notebook/cases/FinancialUpwardCase/Youtube/codequickie/vids/capybara_and_puffing_billy/AngularApp/testing/e2e/ruby/2.7.0/bin
OpenSSL
  Compiled    OpenSSL 1.1.1g  21 Apr 2020
  Loaded      OpenSSL 1.1.1h  22 Sep 2020
  Cert File   C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/ssl/cert.pem
  Cert Dir    C:/Users/oluod/My_Notebook/unneeded/Ruby27-x64/Ruby27-x64/ssl/certs
Tools
  Git         not installed
  RVM         not installed
  rbenv       not installed
  chruby      not installed

Bundler Build Metadata

Built At          2020-12-22
Git SHA           29dc3c8398
Released Version  true

Bundler settings

path
  Set for your local app (C:/Users/oluod/My_Notebook/cases/FinancialUpwardCase/Youtube/codequickie/vids/capybara_and_puffing_billy/AngularApp/testing/e2e/.bundle/config): "C:\\\\\\\\Users\\\\\\\\oluod\\\\\\\\My_Notebook\\\\\\\\cases\\\\\\\\FinancialUpwardCase\\\\\\\\Youtube\\\\\\\\codequickie\\\\\\\\vids\\\\\\\\capybara_and_puffing_billy\\\\\\\\AngularApp\\\\\\\\testing\\\\\\\\e2e"
force_ruby_platform
  Set for your local app (C:/Users/oluod/My_Notebook/cases/FinancialUpwardCase/Youtube/codequickie/vids/capybara_and_puffing_billy/AngularApp/testing/e2e/.bundle/config): true
jobs
  Set for your local app (C:/Users/oluod/My_Notebook/cases/FinancialUpwardCase/Youtube/codequickie/vids/capybara_and_puffing_billy/AngularApp/testing/e2e/.bundle/config): 1

Gemfile

Gemfile

# frozen_string_literal: true

source "https://rubygems.org"

git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }

# gem "rails"


# frozen_string_literal: true

# gem 'capybara'
# gem 'ffi'
# gem 'rspec'
# gem 'rails_helper'
# gem 'rake'
# gem 'percy-capybara', '~> 4.3.3'
# gem 'sauce_whisk'
# gem 'selenium-webdriver'
# gem 'eventmachine', :platforms => :ruby
gem 'puffing-billy', '~> 2.3', '>= 2.3.1'

Gemfile.lock

GEM
  remote: https://rubygems.org/
  specs:
    addressable (2.7.0)
      public_suffix (>= 2.0.2, < 5.0)
    capybara (3.34.0)
      addressable
      mini_mime (>= 0.1.3)
      nokogiri (~> 1.8)
      rack (>= 1.6.0)
      rack-test (>= 0.6.3)
      regexp_parser (~> 1.5)
      xpath (~> 3.2)
    childprocess (3.0.0)
    diff-lcs (1.4.4)
    domain_name (0.5.20190701)
      unf (>= 0.0.5, < 1.0.0)
    ffi (1.14.2-x64-mingw32)
    http-accept (1.7.0)
    http-cookie (1.0.3)
      domain_name (~> 0.5)
    json (2.5.1)
    map (6.6.0)
    mime-types (3.3.1)
      mime-types-data (~> 3.2015)
    mime-types-data (3.2020.1104)
    mini_mime (1.0.2)
    mini_portile2 (2.4.0)
    netrc (0.11.0)
    nokogiri (1.10.10-x64-mingw32)
      mini_portile2 (~> 2.4.0)
    percy-capybara (4.3.3)
    public_suffix (4.0.6)
    rack (2.2.3)
    rack-test (1.1.0)
      rack (>= 1.0, < 3)
    rails_current (2.2.0)
      map (~> 6.0)
    rails_default_url_options (6.0.0)
    rails_helper (2.2.2)
      rails_current (>= 1.0)
      rails_default_url_options (>= 1.0)
    rake (13.0.3)
    regexp_parser (1.8.2)
    rest-client (2.1.0-x64-mingw32)
      ffi (~> 1.9)
      http-accept (>= 1.7.0, < 2.0)
      http-cookie (>= 1.0.2, < 2.0)
      mime-types (>= 1.16, < 4.0)
      netrc (~> 0.8)
    rspec (3.10.0)
      rspec-core (~> 3.10.0)
      rspec-expectations (~> 3.10.0)
      rspec-mocks (~> 3.10.0)
    rspec-core (3.10.0)
      rspec-support (~> 3.10.0)
    rspec-expectations (3.10.0)
      diff-lcs (>= 1.2.0, < 2.0)
      rspec-support (~> 3.10.0)
    rspec-mocks (3.10.0)
      diff-lcs (>= 1.2.0, < 2.0)
      rspec-support (~> 3.10.0)
    rspec-support (3.10.0)
    rubyzip (2.3.0)
    sauce_whisk (0.2.2)
      json
      rest-client (~> 2.0)
    selenium-webdriver (3.142.7)
      childprocess (>= 0.5, < 4.0)
      rubyzip (>= 1.2.2)
    unf (0.1.4)
      unf_ext
    unf_ext (0.0.7.7-x64-mingw32)
    xpath (3.2.0)
      nokogiri (~> 1.8)

PLATFORMS
  x64-mingw32

DEPENDENCIES
  capybara
  ffi
  percy-capybara (~> 4.3.3)
  rails_helper
  rake
  rspec
  sauce_whisk
  selenium-webdriver

BUNDLED WITH
   2.2.3

--- TEMPLATE END ----------------------------------------------------------------

@deivid-rodriguez
Copy link
Member

That sounds like an issue, yeah. If you unset the path configuration with bundle config unset path, and then set it again with the proper value. Does it work?

@Judimax
Copy link
Author

Judimax commented Dec 27, 2020

It still adds those slashes it seems to have succeeded installing eventmachine,
the problem gem is now http_parser 0.6.0. On removing force_ruby_platform, it would install the eventmachine x64-mingw32, so bundler is not allowing us to get selective with the platforms

@deivid-rodriguez
Copy link
Member

Hei!

Just to clarify, the PR I pointed to implements force_ruby_platform but has not been merged yet, so you would need to clone the repository and install from source if you want to try it.

In addition, I had an idea about what's going on that I think makes sense. If I recall correctly, some Windows had issues with paths longer than 260 characters, and I measured the one giving trouble and it's 261. Can you try setting a shorter path to see if the issue is fixed?

@Judimax
Copy link
Author

Judimax commented Dec 28, 2020 via email

@deivid-rodriguez
Copy link
Member

First fix the path thing, and then we can see what the other errors look like.

Not sure if we can do something in bundler to make this kind of thing easier to spot 🤔.

@deivid-rodriguez
Copy link
Member

deivid-rodriguez commented Dec 28, 2020

To install from source, you would need to run the following:

git clone https://github.com/rubygems/rubygems
cd rubygems
ruby setup.rb

But wait until the next error first :)

@Judimax
Copy link
Author

Judimax commented Dec 29, 2020

modify the application manifest, I have checked the registry and in the ruby_builtin_dlls.manifest, I feel like I need to edit this system ruby file, however I just dont know this type of thing I wish I learned more of desktop instead of mobile apps  anyway here is the xml data I need to add, replace,integrate
Please follow up on the article and tell me how to enable it before source.

<application xmlns="urn:schemas-microsoft-com:asm.v3">
    <windowsSettings xmlns:ws2="http://schemas.microsoft.com/SMI/2016/WindowsSettings">
        <ws2:longPathAware>true</ws2:longPathAware>
    </windowsSettings>
</application>

@deivid-rodriguez
Copy link
Member

@MichaelOdumosu57 I thought you were going to change the bundler configuration to use a shorter path 😅. If you can do that to skip the error for now (and also to confirm that's the culprit), then we can move on to the next error.

I agree though that the proper fix would be to change your Windows configuration, but unfortunately I don't use Windows so I'm not able to help there. But I think you're on the right track though, the link you posted looks very promising!

@Judimax
Copy link
Author

Judimax commented Dec 29, 2020

Seemed to solve many problems now we have a make issue
moved_to_shorter_path_make_failed.zip

@deivid-rodriguez
Copy link
Member

I'm happy it fixed things. Can you delete the Gemfile.lock file and run bundle install again? It should pick up the precompiled version like it did in the begining.

@Judimax
Copy link
Author

Judimax commented Dec 29, 2020

moved_to_shorter_path_make_failed.zip
done without bundle_force_ruby_platform
btw how do I enable desktop notifications for github

@deivid-rodriguez
Copy link
Member

I think you need to use the master branch eventmachine_httpserver to fix that error. You can add the following to the Gemfile:

gem "eventmachine_httpserver", github: "eventmachine/evma_httpserver"

In any case, it has become super clear now that this is not an issue in bundler, so I'll close this!

@Judimax
Copy link
Author

Judimax commented Dec 31, 2020

I put together a youtube video and github resource on how to install puffing billy and deal with the eventmachine here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants