Commit ebf3abbcb75f681e1de2bad42409208c3fdfcfa8
Merge pull request #136 from paxan/warn-about-sudo
Minor nit: be informative about impending "sudo" activity.
Showing 1 changed file Side-by-side Diff
script/bootstrap
... | ... | @@ -6,7 +6,8 @@ |
6 | 6 | # FIX: only sudo if gem home isn't writable |
7 | 7 | |
8 | 8 | (gem spec bundler -v '~> 1.2.0' > /dev/null 2>&1) || |
9 | - sudo gem install bundler -v '~> 1.2.0' --no-rdoc --no-ri | |
9 | + sudo -p "Need to install Bundler for system ruby, password for sudo: " \ | |
10 | + gem install bundler -v '~> 1.2.0' --no-rdoc --no-ri | |
10 | 11 | |
11 | 12 | # We don't want old config hanging around. |
12 | 13 |