summaryrefslogtreecommitdiff
path: root/lib/bundler/cli
diff options
context:
space:
mode:
authorKoichi ITO <koic.ito@gmail.com>2017-05-04 06:02:46 +0900
committerKoichi ITO <koic.ito@gmail.com>2017-05-04 08:49:57 +0900
commit7c3d103932fe2b4c35a32b823722c3418130e7f1 (patch)
tree5985e7d8bff89b19b5e7d5dc53864f84a18d612f /lib/bundler/cli
parentaf277266db3fac8c0dd52c8bb0bd2ba63ae78131 (diff)
downloadbundler-7c3d103932fe2b4c35a32b823722c3418130e7f1.tar.gz
Unify the notation of RubyGems
Diffstat (limited to 'lib/bundler/cli')
-rw-r--r--lib/bundler/cli/binstubs.rb2
-rw-r--r--lib/bundler/cli/install.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/cli/binstubs.rb b/lib/bundler/cli/binstubs.rb
index 95103b7dd8..82815062d3 100644
--- a/lib/bundler/cli/binstubs.rb
+++ b/lib/bundler/cli/binstubs.rb
@@ -29,7 +29,7 @@ module Bundler
end
if spec.name == "bundler"
- Bundler.ui.warn "Sorry, Bundler can only be run via Rubygems."
+ Bundler.ui.warn "Sorry, Bundler can only be run via RubyGems."
elsif options[:standalone]
installer.generate_standalone_bundler_executable_stubs(spec)
else
diff --git a/lib/bundler/cli/install.rb b/lib/bundler/cli/install.rb
index 752c5e9c55..a6132751db 100644
--- a/lib/bundler/cli/install.rb
+++ b/lib/bundler/cli/install.rb
@@ -163,7 +163,7 @@ module Bundler
def check_trust_policy
if options["trust-policy"]
unless Bundler.rubygems.security_policies.keys.include?(options["trust-policy"])
- Bundler.ui.error "Rubygems doesn't know about trust policy '#{options["trust-policy"]}'. " \
+ Bundler.ui.error "RubyGems doesn't know about trust policy '#{options["trust-policy"]}'. " \
"The known policies are: #{Bundler.rubygems.security_policies.keys.join(", ")}."
exit 1
end