add ruby version code for chapter 02