strip off detect_rails_version