fall back to ruby mode