Look for `RACK_ENV` instead of `ENV` when detecting environment in rake tasks