LoginSignup
2
3

More than 5 years have passed since last update.

rbenvからのrubyインストール

Posted at

前提条件

-> Amazon Linuxでrbenv+ruby-buildを使えるようにする方法

概要

rbenvのruby-buildを使ってrubyをビルドする

インストールできるrubyのバージョンを表示する

rbenv install -l

インストールする

rbenv install 2.2.3

インストールしたrubyをglobalに設定する

sudo rbenv global 2.2.3

ローカルで使うrubyのバージョンを設定する

echo "2.2.3" > .ruby-version

2
3
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
2
3