Commit e359be2cb1a7e452d83537f8ce1cd652ca69b80f
1 parent
53e3c284bb
Further clarification about Bundler installation.
Showing 1 changed file with 1 additions and 1 deletions Inline Diff
script/bootstrap
#!/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 -p "About to install Bundler, password for sudo: " \ | 9 | 9 | sudo -p "Need to install Bundler for system ruby, password for sudo: " \ | |
gem install bundler -v '~> 1.2.0' --no-rdoc --no-ri | 10 | 10 | gem install bundler -v '~> 1.2.0' --no-rdoc --no-ri | |
11 | 11 | |||
# We don't want old config hanging around. | 12 | 12 | # We don't want old config hanging around. | |
13 | 13 | |||
rm -rf .bundle/config | 14 | 14 | rm -rf .bundle/config |