Merge pull request #136 from paxan/warn-about-sudo
Minor nit: be informative about impending "sudo" activity.
This commit is contained in:
commit
ebf3abbcb7
1 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue