Last Updated: February 25, 2016
·
390
· exreanimator

Shippable issue

If you catch such error:

Failed executing CMD: sudo su - minion -c cd /home/minion/projects/53aeff131770496802ad9313/code && /home/minion/projects/53aeff131770496802ad9313/code/run_script 2>&1

Or like this:

ActiveRecord::StatementInvalid:
Mysql2::Error: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation =:

That will solve it:

# shippable.yml
before_script:
  - mysql -e 'create database shippable_test CHARACTER SET utf8 COLLATE utf8_general_ci;'