hopefully get rid of cookiejar error at travis by getting rid of diaspora-clients ruby 1.9 dependencies before bundle install. Not sure why it's only needed if DB=postgres

This commit is contained in:
Jonne Haß 2012-03-17 13:05:08 +01:00
parent 4a564c0c0e
commit e413a6e70a

View file

@ -1,5 +1,12 @@
#!/bin/bash
# Workaround dependency issues
if ([ "$DB" == "postgres" -a "$TRAVIS_RUBY_VERSION" == "ree" ]); then
echo "Rebuild Gemfile.lock to get rid of diaspora-clients 1.9 dependencies"
bundle update diaspora-client
fi
# Ensure known RubyGems version
if [ "$(gem --version)" != "1.8.17" ]; then
echo "RubyGems version is $(gem --version). Changing..."