appraisal is not necessory while running rake in production

When I run rake command in production, it says appraisal is not installed but appraisal is not a required gem.

I do a rescue to fix it.