Be informative about impending "sudo" activity.

This commit is contained in:
Pavel Repin 2013-03-05 23:13:54 -08:00
parent 8d4836e6a0
commit e9284cd796

View file

@ -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.