rbenvでRubyの環境をつくる
1
2
3
4
5
6
7
8
9
10
11
12
$ yaourt -S rbenv
$ rbenv --version
rbenv 1.1.1
$ git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
$ rbenv install --list
...
$ rbenv install 2.5.1
$ rbenv global 2.5.1
$ echo "eval "(rbenv init -)" >> ~/.zshrc