move rake task check after manifest.yml check in rails 3