Cake.Gem

Cake Build addin for using gem cli.

#addin nuget:?package=Cake.Gem&version=0.8.1

dotnet add package Cake.Gem --version 0.8.1

<PackageReference Include="Cake.Gem" Version="0.8.1" />

Aliases

Contains functionality related to the RubyGems Package Manager.

In order to use the commands for this addin, the gem utility will need to be installed and available, or you will need to provide a ToolPath to where it can be located, and also you will need to include the following in your build.cake file to download and reference the addin from NuGet.org:

#addin Cake.Gem

General

GemBuild(FilePath, GemBuildSettings) Builds the gem using the path to the gemspec file and any additional settings.
GemBuild(FilePath) Builds the gem using the path to the gemspec file.
GemPush(FilePath, GemPushSettings) Pushes the gem using the path to the gem file and any additional settings.
GemPush(FilePath) Pushes the gem using the path to the gem file.