docs/build

Building ff-ruby-server-sdk

This document shows the instructions on how to build and contribute to the SDK.

Requirements

Ruby 2.7 or newer (ruby –version)

openapi-generator-cli

Cloning the SDK repository

In order to clone SDK repository properly perform cloning like in the following example:

git clone --recurse-submodules git@github.com:harness/ff-ruby-server-sdk.git

Install Dependencies

npm install @openapitools/openapi-generator-cli -g
npm install @openapitools/openapi-generator-cli -D
bundle install

Build the SDK

gem build ff-ruby-server-sdk.gemspec