Publish your public-facing Fern Ruby SDK to the RubyGems registry. After following the steps on this page, you’ll have a versioned package published on RubyGems.
This page assumes that you have:
fern folder, a GitHub repository for your Ruby SDK, and a Ruby generator group in generators.yml. See Generating an SDK (Ruby).generators.ymlConfigure output location
Next, change the output location in generators.yml from local-file-system (the default) to pypi to indicate that Fern should publish your package directly to the PyPI registry:
Your package name must be unique in the RubyGems repository, otherwise publishing your SDK to RubyGems will fail. Update your package name if you haven’t done so already:
When prompted to create a new API key:
All Gems under Gem Scope.If you are overriding an existing gem, you can select the relevant package instead of entering All Gems.

At this point, you’re ready to generate a release for your SDK.