Make sure the assets are precompile for the correct environment. Ensure there's a production config in database.yml