Test ruby script