Use .ruby-version instead of .rvmrc, for newer RVMs
Reset correctly the last_state to print only state changes