ensure known rubygems on travis

This commit is contained in:
Jonne Haß 2012-01-19 13:36:51 +01:00
parent 76cfad0675
commit a4b9ae4f8a
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
# Ensure known RubyGems version
if [ "$(gem --version)" != "1.8.12" ]; then
echo "RubyGems version is $(gem --version). Changing..."
rvm rubygems 1.8.12
fi
# Install firefox & Xvfb, in preparation for cucumber & jasmine # Install firefox & Xvfb, in preparation for cucumber & jasmine
#echo "Installing Firefox and Xvfb" #echo "Installing Firefox and Xvfb"
#sudo aptitude --quiet=2 --without-recommends --assume-yes install firefox xvfb #sudo aptitude --quiet=2 --without-recommends --assume-yes install firefox xvfb