pallet.crate.rbenv documentation

A pallet crate to install and configure rbenv.

Links

rbenv

build-packages

fn

[{:as options}]

Call packages for required build packages. Options are passed to the packages call.

configure

fn

[{:keys [instance-id], :as options}]

Write all config files

default-settings

fn

[]

Provides default settings, that are merged with any user supplied settings.

finalise-settings

fn

[{:keys [install-dir], :as settings}]

Fill in any blanks for the settings

install

fn

[{:keys [instance-id]}]

Install rbenv-crate

install-ruby

fn

[version & {:keys [instance-id], :as options}]

Install ruby with rbenv

local

fn

[version & {:keys [instance-id], :as options}]

Set the local ruby version

rbenv-cmd

fn

[args {:keys [env instance-id], :as options}]

Run rbenv. You can pass a map of environment variables with the :env option.

rbenv-init

fn

[options]

A script function to initialise rbenv.

server-spec

fn

[settings & {:keys [instance-id], :as options}]

Returns a server-spec that installs and configures rbenv-crate.

settings

fn

[{:keys [instance-id], :as settings}]

Settings for rbenv-crate