getting the ruby to work