strip off detect_rails_version
fix travis_cache