Now we run on Rails 4.0 with 3.1 details.
Syntax error fixed.
Testing begins.
Gemfile.lock
Migration fails. Probably fixed.
Now it migrate well.
Still struggling with asset pipeline in production.
Now handling the new format. Still not good on Heroku.