Closed roback closed 5 years ago
Here's the upstream issue for this: https://github.com/bundler/bundler/issues/6854
Here's the upstream issue for this: bundler/bundler#6854
And they have two outstanding PRs for it:
Progress is being made, bundler/bundler#6854 was closed upstream by https://github.com/bundler/bundler/pull/7199 :)
Looks like the fix will be in Bundler v2.1 (https://github.com/twingly/twingly-url/issues/139#issuecomment-525646492). I've also changed our Rubygems settings to not require OTP code on gem push
.
Since we started using 2FA for RubyGems we can't publish gems using
bundle exec rake release
. Rake gets stuck on therelease:rubygem_push
task, as shown when running with--trace
:Running
gem push
manually shows exactly what's happening:After entering the 2FA/OTP code, the gem gets published successfully.