diaspora/script/ci/prepare.sh
2017-11-01 00:45:22 +01:00

11 lines
279 B
Bash
Executable file

#!/bin/sh
# Create a database.yml for the right database
echo "Setting up database.yml for ${DB}"
cp config/database.yml.example config/database.yml
if [ "${DB}" = "mysql" ]; then
sed -i 's/*common/*mysql/' config/database.yml
fi
gem install bundler
script/configure_bundler