rbenvをインストール
apt install rbenv -y
.bash_profileファイルへ以下の2行を追加
export PATH="~/.rbenv/shims:/usr/local/bin:$PATH"
eval "$(rbenv init -)"
設定を反映させる。
source ~/.bash_profile
rubyの3.0.1をインストール。
rbenv install 3.0.1
rubyを3.0.1に設定する。
rbenv global 3.0.1
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 5 years have passed since last update.
rbenvをインストール
apt install rbenv -y
.bash_profileファイルへ以下の2行を追加
export PATH="~/.rbenv/shims:/usr/local/bin:$PATH"
eval "$(rbenv init -)"
設定を反映させる。
source ~/.bash_profile
rubyの3.0.1をインストール。
rbenv install 3.0.1
rubyを3.0.1に設定する。
rbenv global 3.0.1
Register as a new user and use Qiita more conveniently
Go to list of users who liked