Update Ruby sample code
Merge pull request #2599 from bootstraponline/ruby_sample

Update Ruby sample code
ci ios branch for build #4470.2