Update Rakefile for better kindle error message.

Ref.: https://github.com/rails/rails/commit/251840f20adca3b727a3c3a659a5ce9db47ff260