Fix rubygems in Gemfiles in examples

Updating Rubygems references in sample code.