add code snippet to gsg-ruby.html