Fix buildpack spec
Put back rails-specific database config code