This page contains information about installing the Google API Client Library for Ruby.
Getting started: Installing the gem
To install the library and all of its dependencies, open a terminal and install using
$ gem install google-api-client
If you already have the gem installed and would simply like to update to the latest version:
$ gem update -y google-api-client
Depending on your system, you may need to prepend these commands with
Finding the samples
You can find samples for multiple APIs in a separate GitHub repository.