Ok I ran into exactly the same problem using dreamhost VPS.
I made 2 mistakes. Firstly, I did not run "bundle exec rake db: migrate" in production mode, i.e. "Bundle exec rake db: migrate RAILS_ENV = production"
but this problem still manifested itself. Then I tried to answer Jesper8. I ran "rake secret" and copied the secret token into the config / secrets.yml infront file "production: secret_key_base:"
Restarted my application and it worked
Hope this helps someone facing a similar issue.
Hussain niazi
source share