HOME » Documents » KUSANAGI 9 Commands » ruby

ruby

ruby (discontinued as of 9.4.14)

Switches the Ruby version.
Support for ruby had been discontinued for CentOS Stream 8 and AlmaLinux OS 8.
Not supported by CentOS Stream 9 and AlmaLinux OS 9.

Example

kusanagi ruby --use ruby:2.6
kusanagi ruby

Options

(No options)

Displays whether Ruby has been installed or not.

Ruby Version

[--use {installed | ruby:2.6}]

Default: installed

Specifies which Ruby version to be used. When one of the following Ruby is specified, it will start up.

  • --use installed: currently installed Ruby
  • --use ruby:2.6: Ruby 2.6

Output

# kusanagi ruby
ruby completed.