rubygems / rubygems

Library packaging and distribution for Ruby.
https://rubygems.org/
Other
3.69k stars 1.75k forks source link

Failed to install wdm 0.1.1 on windows #7742

Closed ethan-nicholas-tsai closed 5 months ago

ethan-nicholas-tsai commented 5 months ago

Installing wdm 0.1.1 with native extensions --- ERROR REPORT TEMPLATE -------------------------------------------------------

Error Report

Questions

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

Backtrace

Errno::EACCES: Permission denied @ rb_sysopen - D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/wdm-0.1.1/LICENSE
  D:/Programs/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/package.rb:454:in `initialize'
  D:/Programs/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/package.rb:454:in `open'
  D:/Programs/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/package.rb:454:in `block (2 levels) in extract_tar_gz'
  D:/Programs/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/package/tar_reader.rb:65:in `each'
  D:/Programs/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/package.rb:423:in `block in extract_tar_gz'
  D:/Programs/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/package.rb:547:in `block in open_tar_gz'
  D:/Programs/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/package.rb:544:in `wrap'
  D:/Programs/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/package.rb:544:in `open_tar_gz'
  D:/Programs/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/package.rb:422:in `extract_tar_gz'
  D:/Programs/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/package.rb:396:in `block (2 levels) in extract_files'
  D:/Programs/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/package/tar_reader.rb:65:in `each'
  D:/Programs/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/package.rb:393:in `block in extract_files'
  D:/Programs/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/package/file_source.rb:30:in `open'
  D:/Programs/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/package/file_source.rb:30:in `with_read_io'
  D:/Programs/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/package.rb:390:in `extract_files'
  D:/Programs/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/installer.rb:861:in `extract_files'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/rubygems_gem_installer.rb:24:in `install'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/source/rubygems.rb:176:in `install'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/installer/gem_installer.rb:67:in `install'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/installer/gem_installer.rb:18:in `install_from_spec'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/installer/parallel_installer.rb:186:in `do_install'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/installer/parallel_installer.rb:171:in `install_serially'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/installer/parallel_installer.rb:97:in `call'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/installer/parallel_installer.rb:71:in `call'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/installer.rb:270:in `install_in_parallel'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/installer.rb:210:in `install'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/installer.rb:90:in `block in run'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/process_lock.rb:19:in `rescue in lock'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/process_lock.rb:15:in `lock'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/installer.rb:72:in `run'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/installer.rb:24:in `install'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/cli/install.rb:64:in `run'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/cli.rb:259:in `block in install'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/settings.rb:133:in `temporary'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/cli.rb:258:in `install'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/cli.rb:30:in `dispatch'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/cli.rb:24:in `start'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/exe/bundle:49:in `block in <top (required)>'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/exe/bundle:37:in `<top (required)>'
  D:/Programs/Ruby33-x64/bin/bundle:25:in `load'
  D:/Programs/Ruby33-x64/bin/bundle:25:in `<main>'

Environment

Bundler       2.2.19
  Platforms   ruby, x64-mingw-ucrt
Ruby          3.3.2p79 (2024-05-30 revision e5a195edf62fe1bf7146a191da13fa1c4fecbd71) [x64-mingw-ucrt]
  Full Path   D:/Programs/Ruby33-x64/bin/ruby.exe
  Config Dir  C:/ProgramData
RubyGems      3.5.11
  Gem Home    D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0
  Gem Path    D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0;C:/Users/50676/.local/share/gem/ruby/3.3.0
  User Home   C:/Users/50676
  User Path   C:/Users/50676/.local/share/gem/ruby/3.3.0
  Bin Dir     D:/Programs/Ruby33-x64/bin
OpenSSL
  Compiled    OpenSSL 3.3.0 9 Apr 2024
  Loaded      OpenSSL 3.3.0 9 Apr 2024
  Cert File   D:/Programs/Ruby33-x64/bin/etc/ssl/cert.pem
  Cert Dir    D:/Programs/Ruby33-x64/bin/etc/ssl/certs
Tools
  Git         2.45.2.windows.1
  RVM         not installed
  rbenv       not installed
  chruby      not installed

Bundler Build Metadata

Built At          2021-05-31
Git SHA           43f80b12c0
Released Version  true

Gemfile

Gemfile

source "https://mirrors.cloud.tencent.com/rubygems/"

# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
#     bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!

gem "github-pages", group: :jekyll_plugins

# If you want to use Jekyll native, uncomment the line below.
# To upgrade, run `bundle update`.

# gem "jekyll"

gem "wdm", "~> 0.1.0" if Gem.win_platform?

# If you have any plugins, put them here!
group :jekyll_plugins do
  # gem "jekyll-archives"
  gem "jekyll-feed"
  gem 'jekyll-sitemap'
  gem 'hawkins'
end

Gemfile.lock

GEM
  remote: https://rubygems.org/
  specs:
    activesupport (6.0.3.7)
      concurrent-ruby (~> 1.0, >= 1.0.2)
      i18n (>= 0.7, < 2)
      minitest (~> 5.1)
      tzinfo (~> 1.1)
      zeitwerk (~> 2.2, >= 2.2.2)
    addressable (2.8.0)
      public_suffix (>= 2.0.2, < 5.0)
    coffee-script (2.4.1)
      coffee-script-source
      execjs
    coffee-script-source (1.11.1)
    colorator (1.1.0)
    commonmarker (0.17.13)
      ruby-enum (~> 0.5)
    concurrent-ruby (1.1.8)
    dnsruby (1.61.5)
      simpleidn (~> 0.1)
    em-websocket (0.5.2)
      eventmachine (>= 0.12.9)
      http_parser.rb (~> 0.6.0)
    ethon (0.14.0)
      ffi (>= 1.15.0)
    eventmachine (1.2.7)
    execjs (2.8.1)
    faraday (1.4.2)
      faraday-em_http (~> 1.0)
      faraday-em_synchrony (~> 1.0)
      faraday-excon (~> 1.1)
      faraday-net_http (~> 1.0)
      faraday-net_http_persistent (~> 1.1)
      multipart-post (>= 1.2, < 3)
      ruby2_keywords (>= 0.0.4)
    faraday-em_http (1.0.0)
    faraday-em_synchrony (1.0.0)
    faraday-excon (1.1.0)
    faraday-net_http (1.0.1)
    faraday-net_http_persistent (1.1.0)
    ffi (1.15.1)
    forwardable-extended (2.6.0)
    gemoji (3.0.1)
    github-pages (215)
      github-pages-health-check (= 1.17.2)
      jekyll (= 3.9.0)
      jekyll-avatar (= 0.7.0)
      jekyll-coffeescript (= 1.1.1)
      jekyll-commonmark-ghpages (= 0.1.6)
      jekyll-default-layout (= 0.1.4)
      jekyll-feed (= 0.15.1)
      jekyll-gist (= 1.5.0)
      jekyll-github-metadata (= 2.13.0)
      jekyll-mentions (= 1.6.0)
      jekyll-optional-front-matter (= 0.3.2)
      jekyll-paginate (= 1.1.0)
      jekyll-readme-index (= 0.3.0)
      jekyll-redirect-from (= 0.16.0)
      jekyll-relative-links (= 0.6.1)
      jekyll-remote-theme (= 0.4.3)
      jekyll-sass-converter (= 1.5.2)
      jekyll-seo-tag (= 2.7.1)
      jekyll-sitemap (= 1.4.0)
      jekyll-swiss (= 1.0.0)
      jekyll-theme-architect (= 0.1.1)
      jekyll-theme-cayman (= 0.1.1)
      jekyll-theme-dinky (= 0.1.1)
      jekyll-theme-hacker (= 0.1.2)
      jekyll-theme-leap-day (= 0.1.1)
      jekyll-theme-merlot (= 0.1.1)
      jekyll-theme-midnight (= 0.1.1)
      jekyll-theme-minimal (= 0.1.1)
      jekyll-theme-modernist (= 0.1.1)
      jekyll-theme-primer (= 0.5.4)
      jekyll-theme-slate (= 0.1.1)
      jekyll-theme-tactile (= 0.1.1)
      jekyll-theme-time-machine (= 0.1.1)
      jekyll-titles-from-headings (= 0.5.3)
      jemoji (= 0.12.0)
      kramdown (= 2.3.1)
      kramdown-parser-gfm (= 1.1.0)
      liquid (= 4.0.3)
      mercenary (~> 0.3)
      minima (= 2.5.1)
      nokogiri (>= 1.10.4, < 2.0)
      rouge (= 3.26.0)
      terminal-table (~> 1.4)
    github-pages-health-check (1.17.2)
      addressable (~> 2.3)
      dnsruby (~> 1.60)
      octokit (~> 4.0)
      public_suffix (>= 2.0.2, < 5.0)
      typhoeus (~> 1.3)
    hawkins (2.0.5)
      em-websocket (~> 0.5)
      jekyll (~> 3.1)
    html-pipeline (2.14.0)
      activesupport (>= 2)
      nokogiri (>= 1.4)
    http_parser.rb (0.6.0)
    i18n (0.9.5)
      concurrent-ruby (~> 1.0)
    jekyll (3.9.0)
      addressable (~> 2.4)
      colorator (~> 1.0)
      em-websocket (~> 0.5)
      i18n (~> 0.7)
      jekyll-sass-converter (~> 1.0)
      jekyll-watch (~> 2.0)
      kramdown (>= 1.17, < 3)
      liquid (~> 4.0)
      mercenary (~> 0.3.3)
      pathutil (~> 0.9)
      rouge (>= 1.7, < 4)
      safe_yaml (~> 1.0)
    jekyll-avatar (0.7.0)
      jekyll (>= 3.0, < 5.0)
    jekyll-coffeescript (1.1.1)
      coffee-script (~> 2.2)
      coffee-script-source (~> 1.11.1)
    jekyll-commonmark (1.3.1)
      commonmarker (~> 0.14)
      jekyll (>= 3.7, < 5.0)
    jekyll-commonmark-ghpages (0.1.6)
      commonmarker (~> 0.17.6)
      jekyll-commonmark (~> 1.2)
      rouge (>= 2.0, < 4.0)
    jekyll-default-layout (0.1.4)
      jekyll (~> 3.0)
    jekyll-feed (0.15.1)
      jekyll (>= 3.7, < 5.0)
    jekyll-gist (1.5.0)
      octokit (~> 4.2)
    jekyll-github-metadata (2.13.0)
      jekyll (>= 3.4, < 5.0)
      octokit (~> 4.0, != 4.4.0)
    jekyll-mentions (1.6.0)
      html-pipeline (~> 2.3)
      jekyll (>= 3.7, < 5.0)
    jekyll-optional-front-matter (0.3.2)
      jekyll (>= 3.0, < 5.0)
    jekyll-paginate (1.1.0)
    jekyll-readme-index (0.3.0)
      jekyll (>= 3.0, < 5.0)
    jekyll-redirect-from (0.16.0)
      jekyll (>= 3.3, < 5.0)
    jekyll-relative-links (0.6.1)
      jekyll (>= 3.3, < 5.0)
    jekyll-remote-theme (0.4.3)
      addressable (~> 2.0)
      jekyll (>= 3.5, < 5.0)
      jekyll-sass-converter (>= 1.0, <= 3.0.0, != 2.0.0)
      rubyzip (>= 1.3.0, < 3.0)
    jekyll-sass-converter (1.5.2)
      sass (~> 3.4)
    jekyll-seo-tag (2.7.1)
      jekyll (>= 3.8, < 5.0)
    jekyll-sitemap (1.4.0)
      jekyll (>= 3.7, < 5.0)
    jekyll-swiss (1.0.0)
    jekyll-theme-architect (0.1.1)
      jekyll (~> 3.5)
      jekyll-seo-tag (~> 2.0)
    jekyll-theme-cayman (0.1.1)
      jekyll (~> 3.5)
      jekyll-seo-tag (~> 2.0)
    jekyll-theme-dinky (0.1.1)
      jekyll (~> 3.5)
      jekyll-seo-tag (~> 2.0)
    jekyll-theme-hacker (0.1.2)
      jekyll (> 3.5, < 5.0)
      jekyll-seo-tag (~> 2.0)
    jekyll-theme-leap-day (0.1.1)
      jekyll (~> 3.5)
      jekyll-seo-tag (~> 2.0)
    jekyll-theme-merlot (0.1.1)
      jekyll (~> 3.5)
      jekyll-seo-tag (~> 2.0)
    jekyll-theme-midnight (0.1.1)
      jekyll (~> 3.5)
      jekyll-seo-tag (~> 2.0)
    jekyll-theme-minimal (0.1.1)
      jekyll (~> 3.5)
      jekyll-seo-tag (~> 2.0)
    jekyll-theme-modernist (0.1.1)
      jekyll (~> 3.5)
      jekyll-seo-tag (~> 2.0)
    jekyll-theme-primer (0.5.4)
      jekyll (> 3.5, < 5.0)
      jekyll-github-metadata (~> 2.9)
      jekyll-seo-tag (~> 2.0)
    jekyll-theme-slate (0.1.1)
      jekyll (~> 3.5)
      jekyll-seo-tag (~> 2.0)
    jekyll-theme-tactile (0.1.1)
      jekyll (~> 3.5)
      jekyll-seo-tag (~> 2.0)
    jekyll-theme-time-machine (0.1.1)
      jekyll (~> 3.5)
      jekyll-seo-tag (~> 2.0)
    jekyll-titles-from-headings (0.5.3)
      jekyll (>= 3.3, < 5.0)
    jekyll-watch (2.2.1)
      listen (~> 3.0)
    jemoji (0.12.0)
      gemoji (~> 3.0)
      html-pipeline (~> 2.2)
      jekyll (>= 3.0, < 5.0)
    kramdown (2.3.1)
      rexml
    kramdown-parser-gfm (1.1.0)
      kramdown (~> 2.0)
    liquid (4.0.3)
    listen (3.5.1)
      rb-fsevent (~> 0.10, >= 0.10.3)
      rb-inotify (~> 0.9, >= 0.9.10)
    mercenary (0.3.6)
    minima (2.5.1)
      jekyll (>= 3.5, < 5.0)
      jekyll-feed (~> 0.9)
      jekyll-seo-tag (~> 2.1)
    minitest (5.14.4)
    multipart-post (2.1.1)
    nokogiri (1.13.3-arm64-darwin)
      racc (~> 1.4)
    nokogiri (1.13.3-x86_64-darwin)
      racc (~> 1.4)
    nokogiri (1.13.3-x86_64-linux)
      racc (~> 1.4)
    octokit (4.21.0)
      faraday (>= 0.9)
      sawyer (~> 0.8.0, >= 0.5.3)
    pathutil (0.16.2)
      forwardable-extended (~> 2.6)
    public_suffix (4.0.6)
    racc (1.6.0)
    rb-fsevent (0.11.0)
    rb-inotify (0.10.1)
      ffi (~> 1.0)
    rexml (3.2.5)
    rouge (3.26.0)
    ruby-enum (0.9.0)
      i18n
    ruby2_keywords (0.0.4)
    rubyzip (2.3.0)
    safe_yaml (1.0.5)
    sass (3.7.4)
      sass-listen (~> 4.0.0)
    sass-listen (4.0.0)
      rb-fsevent (~> 0.9, >= 0.9.4)
      rb-inotify (~> 0.9, >= 0.9.7)
    sawyer (0.8.2)
      addressable (>= 2.3.5)
      faraday (> 0.8, < 2.0)
    simpleidn (0.2.1)
      unf (~> 0.1.4)
    terminal-table (1.8.0)
      unicode-display_width (~> 1.1, >= 1.1.1)
    thread_safe (0.3.6)
    typhoeus (1.4.0)
      ethon (>= 0.9.0)
    tzinfo (1.2.9)
      thread_safe (~> 0.1)
    unf (0.1.4)
      unf_ext
    unf_ext (0.0.7.7)
    unicode-display_width (1.7.0)
    zeitwerk (2.4.2)

PLATFORMS
  universal-darwin-19
  x86_64-linux

DEPENDENCIES
  github-pages
  hawkins
  jekyll-feed
  jekyll-sitemap

BUNDLED WITH
   2.2.19
deivid-rodriguez commented 5 months ago

Hi! You're using a very old version of Bundler. Run gem install bundler and retry forcing the new version, like this: bundle _2.5.11_ install. It should work or at least give you a better error of what the problem is.

If you still run into the same thing, please reopen the issue and update the ticket with updated error messages.

Thanks!

MSP-Greg commented 5 months ago

@ethan-nicholas-tsai

wdm was last updated in August of 2015. It will not install with Ruby 3.3. See https://github.com/Maher4Ever/wdm/issues

It might install with an older Ruby version, not sure.

InsaneGe commented 1 week ago

Installing wdm 0.1.1 with native extensions --- 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 D:/Programs/Ruby33-x64/bin/bundle install
  • 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::EACCES: Permission denied @ rb_sysopen - D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/wdm-0.1.1/LICENSE
  D:/Programs/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/package.rb:454:in `initialize'
  D:/Programs/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/package.rb:454:in `open'
  D:/Programs/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/package.rb:454:in `block (2 levels) in extract_tar_gz'
  D:/Programs/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/package/tar_reader.rb:65:in `each'
  D:/Programs/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/package.rb:423:in `block in extract_tar_gz'
  D:/Programs/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/package.rb:547:in `block in open_tar_gz'
  D:/Programs/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/package.rb:544:in `wrap'
  D:/Programs/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/package.rb:544:in `open_tar_gz'
  D:/Programs/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/package.rb:422:in `extract_tar_gz'
  D:/Programs/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/package.rb:396:in `block (2 levels) in extract_files'
  D:/Programs/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/package/tar_reader.rb:65:in `each'
  D:/Programs/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/package.rb:393:in `block in extract_files'
  D:/Programs/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/package/file_source.rb:30:in `open'
  D:/Programs/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/package/file_source.rb:30:in `with_read_io'
  D:/Programs/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/package.rb:390:in `extract_files'
  D:/Programs/Ruby33-x64/lib/ruby/site_ruby/3.3.0/rubygems/installer.rb:861:in `extract_files'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/rubygems_gem_installer.rb:24:in `install'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/source/rubygems.rb:176:in `install'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/installer/gem_installer.rb:67:in `install'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/installer/gem_installer.rb:18:in `install_from_spec'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/installer/parallel_installer.rb:186:in `do_install'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/installer/parallel_installer.rb:171:in `install_serially'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/installer/parallel_installer.rb:97:in `call'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/installer/parallel_installer.rb:71:in `call'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/installer.rb:270:in `install_in_parallel'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/installer.rb:210:in `install'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/installer.rb:90:in `block in run'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/process_lock.rb:19:in `rescue in lock'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/process_lock.rb:15:in `lock'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/installer.rb:72:in `run'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/installer.rb:24:in `install'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/cli/install.rb:64:in `run'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/cli.rb:259:in `block in install'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/settings.rb:133:in `temporary'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/cli.rb:258:in `install'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/cli.rb:30:in `dispatch'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/cli.rb:24:in `start'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/exe/bundle:49:in `block in <top (required)>'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/lib/bundler/friendly_errors.rb:130:in `with_friendly_errors'
  D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0/gems/bundler-2.2.19/exe/bundle:37:in `<top (required)>'
  D:/Programs/Ruby33-x64/bin/bundle:25:in `load'
  D:/Programs/Ruby33-x64/bin/bundle:25:in `<main>'

Environment

Bundler       2.2.19
  Platforms   ruby, x64-mingw-ucrt
Ruby          3.3.2p79 (2024-05-30 revision e5a195edf62fe1bf7146a191da13fa1c4fecbd71) [x64-mingw-ucrt]
  Full Path   D:/Programs/Ruby33-x64/bin/ruby.exe
  Config Dir  C:/ProgramData
RubyGems      3.5.11
  Gem Home    D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0
  Gem Path    D:/Programs/Ruby33-x64/lib/ruby/gems/3.3.0;C:/Users/50676/.local/share/gem/ruby/3.3.0
  User Home   C:/Users/50676
  User Path   C:/Users/50676/.local/share/gem/ruby/3.3.0
  Bin Dir     D:/Programs/Ruby33-x64/bin
OpenSSL
  Compiled    OpenSSL 3.3.0 9 Apr 2024
  Loaded      OpenSSL 3.3.0 9 Apr 2024
  Cert File   D:/Programs/Ruby33-x64/bin/etc/ssl/cert.pem
  Cert Dir    D:/Programs/Ruby33-x64/bin/etc/ssl/certs
Tools
  Git         2.45.2.windows.1
  RVM         not installed
  rbenv       not installed
  chruby      not installed

Bundler Build Metadata

Built At          2021-05-31
Git SHA           43f80b12c0
Released Version  true

Gemfile

Gemfile

source "https://mirrors.cloud.tencent.com/rubygems/"

# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
#     bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!

gem "github-pages", group: :jekyll_plugins

# If you want to use Jekyll native, uncomment the line below.
# To upgrade, run `bundle update`.

# gem "jekyll"

gem "wdm", "~> 0.1.0" if Gem.win_platform?

# If you have any plugins, put them here!
group :jekyll_plugins do
  # gem "jekyll-archives"
  gem "jekyll-feed"
  gem 'jekyll-sitemap'
  gem 'hawkins'
end

Gemfile.lock

GEM
  remote: https://rubygems.org/
  specs:
    activesupport (6.0.3.7)
      concurrent-ruby (~> 1.0, >= 1.0.2)
      i18n (>= 0.7, < 2)
      minitest (~> 5.1)
      tzinfo (~> 1.1)
      zeitwerk (~> 2.2, >= 2.2.2)
    addressable (2.8.0)
      public_suffix (>= 2.0.2, < 5.0)
    coffee-script (2.4.1)
      coffee-script-source
      execjs
    coffee-script-source (1.11.1)
    colorator (1.1.0)
    commonmarker (0.17.13)
      ruby-enum (~> 0.5)
    concurrent-ruby (1.1.8)
    dnsruby (1.61.5)
      simpleidn (~> 0.1)
    em-websocket (0.5.2)
      eventmachine (>= 0.12.9)
      http_parser.rb (~> 0.6.0)
    ethon (0.14.0)
      ffi (>= 1.15.0)
    eventmachine (1.2.7)
    execjs (2.8.1)
    faraday (1.4.2)
      faraday-em_http (~> 1.0)
      faraday-em_synchrony (~> 1.0)
      faraday-excon (~> 1.1)
      faraday-net_http (~> 1.0)
      faraday-net_http_persistent (~> 1.1)
      multipart-post (>= 1.2, < 3)
      ruby2_keywords (>= 0.0.4)
    faraday-em_http (1.0.0)
    faraday-em_synchrony (1.0.0)
    faraday-excon (1.1.0)
    faraday-net_http (1.0.1)
    faraday-net_http_persistent (1.1.0)
    ffi (1.15.1)
    forwardable-extended (2.6.0)
    gemoji (3.0.1)
    github-pages (215)
      github-pages-health-check (= 1.17.2)
      jekyll (= 3.9.0)
      jekyll-avatar (= 0.7.0)
      jekyll-coffeescript (= 1.1.1)
      jekyll-commonmark-ghpages (= 0.1.6)
      jekyll-default-layout (= 0.1.4)
      jekyll-feed (= 0.15.1)
      jekyll-gist (= 1.5.0)
      jekyll-github-metadata (= 2.13.0)
      jekyll-mentions (= 1.6.0)
      jekyll-optional-front-matter (= 0.3.2)
      jekyll-paginate (= 1.1.0)
      jekyll-readme-index (= 0.3.0)
      jekyll-redirect-from (= 0.16.0)
      jekyll-relative-links (= 0.6.1)
      jekyll-remote-theme (= 0.4.3)
      jekyll-sass-converter (= 1.5.2)
      jekyll-seo-tag (= 2.7.1)
      jekyll-sitemap (= 1.4.0)
      jekyll-swiss (= 1.0.0)
      jekyll-theme-architect (= 0.1.1)
      jekyll-theme-cayman (= 0.1.1)
      jekyll-theme-dinky (= 0.1.1)
      jekyll-theme-hacker (= 0.1.2)
      jekyll-theme-leap-day (= 0.1.1)
      jekyll-theme-merlot (= 0.1.1)
      jekyll-theme-midnight (= 0.1.1)
      jekyll-theme-minimal (= 0.1.1)
      jekyll-theme-modernist (= 0.1.1)
      jekyll-theme-primer (= 0.5.4)
      jekyll-theme-slate (= 0.1.1)
      jekyll-theme-tactile (= 0.1.1)
      jekyll-theme-time-machine (= 0.1.1)
      jekyll-titles-from-headings (= 0.5.3)
      jemoji (= 0.12.0)
      kramdown (= 2.3.1)
      kramdown-parser-gfm (= 1.1.0)
      liquid (= 4.0.3)
      mercenary (~> 0.3)
      minima (= 2.5.1)
      nokogiri (>= 1.10.4, < 2.0)
      rouge (= 3.26.0)
      terminal-table (~> 1.4)
    github-pages-health-check (1.17.2)
      addressable (~> 2.3)
      dnsruby (~> 1.60)
      octokit (~> 4.0)
      public_suffix (>= 2.0.2, < 5.0)
      typhoeus (~> 1.3)
    hawkins (2.0.5)
      em-websocket (~> 0.5)
      jekyll (~> 3.1)
    html-pipeline (2.14.0)
      activesupport (>= 2)
      nokogiri (>= 1.4)
    http_parser.rb (0.6.0)
    i18n (0.9.5)
      concurrent-ruby (~> 1.0)
    jekyll (3.9.0)
      addressable (~> 2.4)
      colorator (~> 1.0)
      em-websocket (~> 0.5)
      i18n (~> 0.7)
      jekyll-sass-converter (~> 1.0)
      jekyll-watch (~> 2.0)
      kramdown (>= 1.17, < 3)
      liquid (~> 4.0)
      mercenary (~> 0.3.3)
      pathutil (~> 0.9)
      rouge (>= 1.7, < 4)
      safe_yaml (~> 1.0)
    jekyll-avatar (0.7.0)
      jekyll (>= 3.0, < 5.0)
    jekyll-coffeescript (1.1.1)
      coffee-script (~> 2.2)
      coffee-script-source (~> 1.11.1)
    jekyll-commonmark (1.3.1)
      commonmarker (~> 0.14)
      jekyll (>= 3.7, < 5.0)
    jekyll-commonmark-ghpages (0.1.6)
      commonmarker (~> 0.17.6)
      jekyll-commonmark (~> 1.2)
      rouge (>= 2.0, < 4.0)
    jekyll-default-layout (0.1.4)
      jekyll (~> 3.0)
    jekyll-feed (0.15.1)
      jekyll (>= 3.7, < 5.0)
    jekyll-gist (1.5.0)
      octokit (~> 4.2)
    jekyll-github-metadata (2.13.0)
      jekyll (>= 3.4, < 5.0)
      octokit (~> 4.0, != 4.4.0)
    jekyll-mentions (1.6.0)
      html-pipeline (~> 2.3)
      jekyll (>= 3.7, < 5.0)
    jekyll-optional-front-matter (0.3.2)
      jekyll (>= 3.0, < 5.0)
    jekyll-paginate (1.1.0)
    jekyll-readme-index (0.3.0)
      jekyll (>= 3.0, < 5.0)
    jekyll-redirect-from (0.16.0)
      jekyll (>= 3.3, < 5.0)
    jekyll-relative-links (0.6.1)
      jekyll (>= 3.3, < 5.0)
    jekyll-remote-theme (0.4.3)
      addressable (~> 2.0)
      jekyll (>= 3.5, < 5.0)
      jekyll-sass-converter (>= 1.0, <= 3.0.0, != 2.0.0)
      rubyzip (>= 1.3.0, < 3.0)
    jekyll-sass-converter (1.5.2)
      sass (~> 3.4)
    jekyll-seo-tag (2.7.1)
      jekyll (>= 3.8, < 5.0)
    jekyll-sitemap (1.4.0)
      jekyll (>= 3.7, < 5.0)
    jekyll-swiss (1.0.0)
    jekyll-theme-architect (0.1.1)
      jekyll (~> 3.5)
      jekyll-seo-tag (~> 2.0)
    jekyll-theme-cayman (0.1.1)
      jekyll (~> 3.5)
      jekyll-seo-tag (~> 2.0)
    jekyll-theme-dinky (0.1.1)
      jekyll (~> 3.5)
      jekyll-seo-tag (~> 2.0)
    jekyll-theme-hacker (0.1.2)
      jekyll (> 3.5, < 5.0)
      jekyll-seo-tag (~> 2.0)
    jekyll-theme-leap-day (0.1.1)
      jekyll (~> 3.5)
      jekyll-seo-tag (~> 2.0)
    jekyll-theme-merlot (0.1.1)
      jekyll (~> 3.5)
      jekyll-seo-tag (~> 2.0)
    jekyll-theme-midnight (0.1.1)
      jekyll (~> 3.5)
      jekyll-seo-tag (~> 2.0)
    jekyll-theme-minimal (0.1.1)
      jekyll (~> 3.5)
      jekyll-seo-tag (~> 2.0)
    jekyll-theme-modernist (0.1.1)
      jekyll (~> 3.5)
      jekyll-seo-tag (~> 2.0)
    jekyll-theme-primer (0.5.4)
      jekyll (> 3.5, < 5.0)
      jekyll-github-metadata (~> 2.9)
      jekyll-seo-tag (~> 2.0)
    jekyll-theme-slate (0.1.1)
      jekyll (~> 3.5)
      jekyll-seo-tag (~> 2.0)
    jekyll-theme-tactile (0.1.1)
      jekyll (~> 3.5)
      jekyll-seo-tag (~> 2.0)
    jekyll-theme-time-machine (0.1.1)
      jekyll (~> 3.5)
      jekyll-seo-tag (~> 2.0)
    jekyll-titles-from-headings (0.5.3)
      jekyll (>= 3.3, < 5.0)
    jekyll-watch (2.2.1)
      listen (~> 3.0)
    jemoji (0.12.0)
      gemoji (~> 3.0)
      html-pipeline (~> 2.2)
      jekyll (>= 3.0, < 5.0)
    kramdown (2.3.1)
      rexml
    kramdown-parser-gfm (1.1.0)
      kramdown (~> 2.0)
    liquid (4.0.3)
    listen (3.5.1)
      rb-fsevent (~> 0.10, >= 0.10.3)
      rb-inotify (~> 0.9, >= 0.9.10)
    mercenary (0.3.6)
    minima (2.5.1)
      jekyll (>= 3.5, < 5.0)
      jekyll-feed (~> 0.9)
      jekyll-seo-tag (~> 2.1)
    minitest (5.14.4)
    multipart-post (2.1.1)
    nokogiri (1.13.3-arm64-darwin)
      racc (~> 1.4)
    nokogiri (1.13.3-x86_64-darwin)
      racc (~> 1.4)
    nokogiri (1.13.3-x86_64-linux)
      racc (~> 1.4)
    octokit (4.21.0)
      faraday (>= 0.9)
      sawyer (~> 0.8.0, >= 0.5.3)
    pathutil (0.16.2)
      forwardable-extended (~> 2.6)
    public_suffix (4.0.6)
    racc (1.6.0)
    rb-fsevent (0.11.0)
    rb-inotify (0.10.1)
      ffi (~> 1.0)
    rexml (3.2.5)
    rouge (3.26.0)
    ruby-enum (0.9.0)
      i18n
    ruby2_keywords (0.0.4)
    rubyzip (2.3.0)
    safe_yaml (1.0.5)
    sass (3.7.4)
      sass-listen (~> 4.0.0)
    sass-listen (4.0.0)
      rb-fsevent (~> 0.9, >= 0.9.4)
      rb-inotify (~> 0.9, >= 0.9.7)
    sawyer (0.8.2)
      addressable (>= 2.3.5)
      faraday (> 0.8, < 2.0)
    simpleidn (0.2.1)
      unf (~> 0.1.4)
    terminal-table (1.8.0)
      unicode-display_width (~> 1.1, >= 1.1.1)
    thread_safe (0.3.6)
    typhoeus (1.4.0)
      ethon (>= 0.9.0)
    tzinfo (1.2.9)
      thread_safe (~> 0.1)
    unf (0.1.4)
      unf_ext
    unf_ext (0.0.7.7)
    unicode-display_width (1.7.0)
    zeitwerk (2.4.2)

PLATFORMS
  universal-darwin-19
  x86_64-linux

DEPENDENCIES
  github-pages
  hawkins
  jekyll-feed
  jekyll-sitemap

BUNDLED WITH
   2.2.19

"An error occurred while installing wdm (0.1.1)" if this error occurs, you can try to run the command gem install wdm:0.1.1 -- --with-cflags=-Wno-implicit-function-declaration , after that run bundle install. it should resolve your problem.

deivid-rodriguez commented 1 week ago

Please upgrade Bundler & RubyGems and try again.