To download the source code used in this tutorial, click here.

md5: 4ed52cb297cdc5669b11ff5624749387
sha1: 6396f0e5f25fcc42560c858b841507a7dceb9e9f

In this procedure, you install the Ruby gems that allow you to make REST calls.

  1. To specify dependencies that must be installed, add the following to
    Gemfile.

    source 'https://rubygems.org'
    
    gem 'jwt'
    gem 'rest-client'
  2. To install dependencies (Ruby gems), run the following in terminal:
    # from project root directory
    bundle
  3. Now that you have completed installing the dependencies, go to Setting up Authentication for the Activity API.