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

Update Ruby sample code
ci android branch for build #4470.3