Files
diaspora/script/ci/prepare.sh
Benjamin Neff e7c5da2fff Use bundler-cache: true instead of actions/cache@v2
Using actions/cache@v2 causes problems with ruby, see
https://github.com/ruby/setup-ruby#caching-bundle-install-manually

Closes #8221

closes #8226
2021-04-10 11:07:37 +02:00

9 lines
233 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