0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

rbenvを用いたrubyの環境構築手順

0
Posted at

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
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?