finally got ruby working