Fix to ruby

Change-Id: If59c7b4022f0013813526b27e14d84a4f20b8c14