move ruby version out of the input line