summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/bundler/source.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/source.rb b/lib/bundler/source.rb
index df03f76a54..e304b140f2 100644
--- a/lib/bundler/source.rb
+++ b/lib/bundler/source.rb
@@ -105,7 +105,7 @@ module Bundler
end
def sudo(str)
- `sudo -E #{str}`
+ `sudo -p 'Bundler requires your password to install to your system gems location\nPassword: ' -E #{str}`
end
def cache(spec)