class

MStrap::Runtimes::Ruby

Inherits MStrap::Runtime < MStrap::DSL < MStrap::DSL::System < MStrap::DSL::Logging < Reference < Object

Ruby runtime management implmentation. It contains methods for interacting with Ruby via the chosen runtime manager and bootstrapping a Ruby project based on conventions.

Instance methods

bootstrap

Bootstrap the current directory for the runtime

Source
install_packages(packages : Array(Defs::PkgDef), runtime_version : String | Nil = nil) : Bool

Installs global packages for the runtime with an optional version specification, and optional runtime version.

NOTE: The version specification is dependent upon the underlying package manager and is passed verbatim.

Source
matches?

Returns whether the project uses the runtime

Source