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

Update Ruby sample code
ci selendroid branch for build #4470.4