Revert "Resolve inability to run rake tasks in production"

This reverts commit d2c2f8ab66e43589efa5f7483838672819df7214.
Fix inability to run rake tasks in production