Ruby
makeRubyGemsInstall
Fetch and install the specified Ruby gems from the RubyGems.
Types:
- makeRubyGemsInstall (
function { ... } -> package
):- name (
str
): Custom name to assign to the build step, be creative, it helps in debugging. - ruby (
enum [ "3.1" "3.2" "3.3" ]
): Version of the Ruby interpreter. - searchPaths (
asIn makeSearchPaths
): Optional. Arguments here will be passed as-is tomakeSearchPaths
. Defaults tomakeSearchPaths
's defaults. - sourcesYaml (
package
):sources.yaml
file computed as explained in the pre-requisites section.
- name (
Example:
Tip
Refer to makeRubyLock
to learn how to generate a sourcesYaml
.
makeRubyGemsEnvironment
Create an environment where the specified Ruby gems from RubyGems are available.
Types:
- makeRubyGemsEnvironment (
function { ... } -> package
):- name (
str
): Custom name to assign to the build step, be creative, it helps in debugging. - ruby (
enum [ "3.1" "3.2" "3.3" ]
): Version of the Ruby interpreter. - searchPathsBuild (
asIn makeSearchPaths
): Optional. Arguments here will be passed as-is tomakeSearchPaths
and used while installing gems. Defaults tomakeSearchPaths
's defaults. - searchPathsRuntime (
asIn makeSearchPaths
): Optional. Arguments here will be passed as-is tomakeSearchPaths
and propagated to the runtime environment. Defaults tomakeSearchPaths
's defaults. - sourcesYaml (
package
):sources.yaml
file computed as explained in the pre-requisites section.
- name (
Example:
Tip
Refer to makeRubyLock
to learn how to generate a sourcesYaml
.