install

package
v1.7.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package install contains functions necessary for installing and checking if the necessary underlying Ruby tools have been properly installed

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Installer

type Installer struct {
	// contains filtered or unexported fields
}

Installer manages the underlying Ruby installation

func NewInstaller

func NewInstaller() *Installer

NewInstaller creates a new initialised Installer

func (*Installer) CheckInstallation

func (i *Installer) CheckInstallation() error

CheckInstallation checks installation of all of the tools

func (*Installer) CheckVersion

func (i *Installer) CheckVersion(binary, version string) error

CheckVersion checks installation of a given binary using semver-compatible comparisons

func (*Installer) GetVersionForBinary

func (i *Installer) GetVersionForBinary(binary string) (version string, err error)

GetVersionForBinary gets the version of a given Ruby binary

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL