Merge pull request #136 from paxan/warn-about-sudo

Minor nit: be informative about impending "sudo" activity.
This commit is contained in:
Will Farrington 2013-03-07 08:50:48 -08:00
commit ebf3abbcb7

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
sudo -p "Need to install Bundler for system ruby, password for sudo: " \
gem install bundler -v '~> 1.2.0' --no-rdoc --no-ri
# We don't want old config hanging around.