ruby: fix data usage

Change-Id: Ia8d5222797c211034ebaefec57dbe7e3b9650cb4