Fixed some mistakes in ruby.adds.

Change-Id: Iab04427a48667ae7deaf17e930a05c24935cd1e4