Skip to content

Commit 4af9ed4

Browse files
committed
📦 Use latest rubygems/bundler to release gem
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.
1 parent 4e38b1f commit 4af9ed4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/push_gem.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ jobs:
3535
with:
3636
bundler-cache: true
3737
ruby-version: ruby
38+
rubygems: latest
39+
bundler: latest
3840

3941
# Release
4042
- name: Publish to RubyGems

0 commit comments

Comments
 (0)