#!/bin/bash

if [ "$DB" = "database.yml.mysql" ]; then
  echo "gem 'mysql2', '~> 0.4.0'" >> Gemfile
  bundle
fi

#!/bin/bash

if [ "$DB" = "database.yml.mysql" ]; then
  echo "gem 'mysql2', '~> 0.3.13'" >> Gemfile
  bundle
fi

Set mysql2 gem version to '~> 0.3.13'.
Set mysql2 gem version to '~> 0.3.13'.

The ActiveRecord mysql2 adapter requires this version.
