fixed ruby version and nameError