Skip to content

Conversation

@nevans
Copy link
Collaborator

@nevans nevans commented Dec 15, 2025

There was an issue when trying to publish v0.6.0, related to digest, with the following error:

https://github.com/ruby/net-imap/actions/runs/20212203897/job/58019727242

$ bundle exec rake release
bundler: failed to load command: rake (/home/runner/work/net-imap/net-imap/vendor/bundle/ruby/3.4.0/bin/rake)
/opt/hostedtoolcache/Ruby/3.4.7/x64/lib/ruby/3.4.0/bundler/runtime.rb:317:in 'Bundler::Runtime#check_for_activated_spec!': You have already activated digest 3.2.0, but your Gemfile requires digest 3.2.1. Since digest is a default gem, you can either remove your dependency on it or try updating to a newer version of bundler that supports digest as a default gem. (Gem::LoadError)

So, hopefully, upgrading to the latest rubygems and bundler will fix it.

There was an issue when trying to publish v0.6.0, related to digest,
with the following error:

https://github.com/ruby/net-imap/actions/runs/20212203897/job/58019727242
```
$ bundle exec rake release
bundler: failed to load command: rake (/home/runner/work/net-imap/net-imap/vendor/bundle/ruby/3.4.0/bin/rake)
/opt/hostedtoolcache/Ruby/3.4.7/x64/lib/ruby/3.4.0/bundler/runtime.rb:317:in 'Bundler::Runtime#check_for_activated_spec!': You have already activated digest 3.2.0, but your Gemfile requires digest 3.2.1. Since digest is a default gem, you can either remove your dependency on it or try updating to a newer version of bundler that supports digest as a default gem. (Gem::LoadError)
```

So, hopefully, upgrading to the latest rubygems and bundler will fix it.
@nevans nevans added the github_actions Pull requests that update GitHub Actions code label Dec 15, 2025
@nevans nevans merged commit 4af9ed4 into master Dec 15, 2025
32 checks passed
@nevans nevans deleted the upgrade-rubygems-bundler-for-publish-workflow branch December 15, 2025 03:17
nevans added a commit that referenced this pull request Dec 15, 2025
`digest` 3.2.1 was released since the last `net-imap` release.  And
apparently `bundle exec rake release` activates `digest` _before_
loading the Gemfile.  But, since `digest` is a default gem anyway, not
including it in the Gemfile should be okay, I think.

See the errors here:
* 1st attempt: https://github.com/ruby/net-imap/actions/runs/20212203897/job/58019727242
* Merged #575
* 2nd attempt: https://github.com/ruby/net-imap/actions/runs/20219369554/job/58038064382
@nevans nevans added this to the v0.6 milestone Dec 15, 2025
nevans added a commit that referenced this pull request Dec 15, 2025
`digest` 3.2.1 was released since the last `net-imap` release.  And
apparently `bundle exec rake release` activates `digest` _before_
loading the Gemfile.  But, since `digest` is a default gem anyway, not
including it in the Gemfile should be okay, I think.

See the errors here:
* 1st attempt: https://github.com/ruby/net-imap/actions/runs/20212203897/job/58019727242
* Merged #575
* 2nd attempt: https://github.com/ruby/net-imap/actions/runs/20219369554/job/58038064382
nevans added a commit that referenced this pull request Dec 17, 2025
`digest` 3.2.1 was released since the last `net-imap` release.  And
apparently `bundle exec rake release` activates `digest` _before_
loading the Gemfile.  But, since `digest` is a default gem anyway, not
including it in the Gemfile should be okay, I think.

See the errors here:
* 1st attempt: https://github.com/ruby/net-imap/actions/runs/20212203897/job/58019727242
* Merged #575
* 2nd attempt: https://github.com/ruby/net-imap/actions/runs/20219369554/job/58038064382
nevans added a commit that referenced this pull request Dec 17, 2025
`digest` 3.2.1 was released since the last `net-imap` release.  And
apparently `bundle exec rake release` activates `digest` _before_
loading the Gemfile.  But, since `digest` is a default gem anyway, not
including it in the Gemfile should be okay, I think.

See the errors here:
* 1st attempt: https://github.com/ruby/net-imap/actions/runs/20212203897/job/58019727242
* Merged #575
* 2nd attempt: https://github.com/ruby/net-imap/actions/runs/20219369554/job/58038064382
nevans added a commit that referenced this pull request Dec 17, 2025
`digest` 3.2.1 was released since the last `net-imap` release.  And
apparently `bundle exec rake release` activates `digest` _before_
loading the Gemfile.  But, since `digest` is a default gem anyway, not
including it in the Gemfile should be okay, I think.

See the errors here:
* 1st attempt: https://github.com/ruby/net-imap/actions/runs/20212203897/job/58019727242
* Merged #575
* 2nd attempt: https://github.com/ruby/net-imap/actions/runs/20219369554/job/58038064382
nevans added a commit that referenced this pull request Dec 17, 2025
`digest` 3.2.1 was released since the last `net-imap` release.  And
apparently `bundle exec rake release` activates `digest` _before_
loading the Gemfile.  But, since `digest` is a default gem anyway, not
including it in the Gemfile should be okay, I think.

See the errors here:
* 1st attempt: https://github.com/ruby/net-imap/actions/runs/20212203897/job/58019727242
* Merged #575
* 2nd attempt: https://github.com/ruby/net-imap/actions/runs/20219369554/job/58038064382
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants