From e9284cd796ffbf2f8450c3bf052e2ab9a47ef01f Mon Sep 17 00:00:00 2001 From: Pavel Repin Date: Tue, 5 Mar 2013 23:13:54 -0800 Subject: [PATCH] Be informative about impending "sudo" activity. --- script/bootstrap | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/bootstrap b/script/bootstrap index b9534d9..951727e 100755 --- a/script/bootstrap +++ b/script/bootstrap @@ -6,7 +6,8 @@ set -e # FIX: only sudo if gem home isn't writable (gem spec bundler -v '~> 1.2.0' > /dev/null 2>&1) || - sudo gem install bundler -v '~> 1.2.0' --no-rdoc --no-ri + (echo "About to install Bundler (you may get a sudo prompt)" && + sudo gem install bundler -v '~> 1.2.0' --no-rdoc --no-ri) # We don't want old config hanging around. -- 1.8.5.3