Use RouteCache to clean cached routes

Rails.cache.clear fails when the cache path doesn't exist
It causes random failures in Travis CI