Removing gems: causing errors in Rake tasks