Avoid crash of YCM with ruby