diff options
author | Bundlerbot <bot@bundler.io> | 2019-12-22 02:47:51 +0000 |
---|---|---|
committer | Bundlerbot <bot@bundler.io> | 2019-12-22 02:47:51 +0000 |
commit | 66e0cbed52729cff9d3b4cf16c4823ae6f865409 (patch) | |
tree | 89887022181de4536d2827ce78f0bad74192709f /lib/bundler/gem_helper.rb | |
parent | 26888b6dcf420d050f4e7d963926ea97de8c7804 (diff) | |
parent | c04ee6319293624b7ceaded3fcc988a775483baa (diff) | |
download | bundler-66e0cbed52729cff9d3b4cf16c4823ae6f865409.tar.gz |
Merge #7513
7513: Improve error message when not logged in r=deivid-rodriguez a=steveklabnik
`gem push` makes you add other parameters, and is awkward to figure out the details. `gem signin` is a more direct way of doing this.
Co-authored-by: Steve Klabnik <steve@steveklabnik.com>
Diffstat (limited to 'lib/bundler/gem_helper.rb')
-rw-r--r-- | lib/bundler/gem_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/gem_helper.rb b/lib/bundler/gem_helper.rb index a09d03a448..237830ce67 100644 --- a/lib/bundler/gem_helper.rb +++ b/lib/bundler/gem_helper.rb @@ -100,7 +100,7 @@ module Bundler cmd << "--key" << gem_key if gem_key cmd << "--host" << allowed_push_host if allowed_push_host unless allowed_push_host || Bundler.user_home.join(".gem/credentials").file? - raise "Your rubygems.org credentials aren't set. Run `gem push` to set them." + raise "Your rubygems.org credentials aren't set. Run `gem signin` to set them." end sh_with_input(cmd) Bundler.ui.confirm "Pushed #{name} #{version} to #{gem_push_host}" |