KUSANAGI コマンド

ruby

ruby

ruby (9.4.14で廃止)

Ruby のバージョンを切り替えます。
CentOS Stream 9/AlmaLinux OS 9は未対応です。

使用例

kusanagi ruby --use ruby:2.6
kusanagi ruby

オプション

(オプション指定なし)

Ruby がインストールされているか表示します。

使用するRubyのバージョン

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

デフォルト : installed

使用する Ruby のバージョンを指定します。それぞれ指定したときは以下のRubyのバージョンを起動します。

  • --use installed : 現在インストールされているruby
  • --use ruby:2.6 : Ruby 2.6

実行例

# kusanagi ruby
ruby completed.
超高速CMS実行環境 KUSANAGI
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.