check for ruby