Check if the ruby directory exists