Revert "Fix rake failing in production."

This reverts commit 2677ad8527c3b6ac09e620eca7da009888ccb6ba.