HOME » Documents » KUSANAGI 9 Commands » ruby

ruby

ruby

Switches the Ruby version.
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.