bug fix:check ruby version