Error when running migration for the first time

After a couple of years away from Foreman I've tried to install it
today and got into some issues:

sh-3.2# RAILS_ENV=production rake db:migrate
(in /opt/comcast/platform/foreman/foreman)
== CreateHosts: migrating

··· ==================================================== rake aborted! An error has occurred, all later migrations canceled:

Mysql2::Error: BLOB/TEXT column ‘title’ used in key specification
without a key length: CREATE INDEX
index_resources_on_title_and_restype ON resources (title,

(See full trace by running task with --trace)

This is running Foreman 0.4 fresh install in

sh-3.2# lsb_release -a
LSB Version: :core-4.0-amd64:core-4.0-ia32:core-4.0-
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 5.6 (Tikanga)
Release: 5.6
Codename: Tikanga

with rubyee (I have to use the bz2 file because the rpm doesn’t
install due to dependencies) using mysql2 (0.2.6)

Is there anything I am missing?