ruby version for chapter 02 & 03

Hi,
 add ruby version for chapter 02 & 03.