Commit e9284cd796ffbf2f8450c3bf052e2ab9a47ef01f

Authored by Pavel Repin
1 parent 8d4836e6a0

Be informative about impending "sudo" activity.

Showing 1 changed file with 2 additions and 1 deletions Inline Diff

#!/bin/sh 1 1 #!/bin/sh
# Make sure all our local dependencies are available. 2 2 # Make sure all our local dependencies are available.
3 3
set -e 4 4 set -e
5 5
# FIX: only sudo if gem home isn't writable 6 6 # FIX: only sudo if gem home isn't writable
7 7
(gem spec bundler -v '~> 1.2.0' > /dev/null 2>&1) || 8 8 (gem spec bundler -v '~> 1.2.0' > /dev/null 2>&1) ||
sudo gem install bundler -v '~> 1.2.0' --no-rdoc --no-ri 9 9 (echo "About to install Bundler (you may get a sudo prompt)" &&
10 sudo gem install bundler -v '~> 1.2.0' --no-rdoc --no-ri)
10 11
# We don't want old config hanging around. 11 12 # We don't want old config hanging around.
12 13
rm -rf .bundle/config 13 14 rm -rf .bundle/config