Bundler ~> 1.3.0 check

Fixes #79
This commit is contained in:
Adam Ochonicki 2013-07-06 11:28:07 -04:00
parent dff3759b27
commit a260b6f6b0

View file

@ -5,9 +5,9 @@ set -e
# FIX: only sudo if gem home isn't writable # FIX: only sudo if gem home isn't writable
(/usr/bin/gem spec bundler -v '~> 1.2.0' > /dev/null 2>&1) || { (/usr/bin/gem spec bundler -v '~> 1.3.0' > /dev/null 2>&1) || {
/usr/bin/sudo -p "Need to install Bundler for system ruby, password for sudo: " \ /usr/bin/sudo -p "Need to install Bundler for system ruby, password for sudo: " \
/usr/bin/gem install bundler -v '~> 1.2.0' --no-rdoc --no-ri /usr/bin/gem install bundler -v '~> 1.3.0' --no-rdoc --no-ri
} }
# We don't want old config hanging around. # We don't want old config hanging around.