rbenv로 ruby2.5.0 설치

2004 단어 루비rbenvhomebrew
ruby2.5.0 릴리스 축하합니다.

Homebrew에 대한 PR이 이미 Merge되었습니다
ruby-build 20171226 by hsbt · Pull Request #22135 · Homebrew/homebrew-core

그렇다면 바로 설치!

먼저 ruby-build 업그레이드.
$ brew upgrade ruby-build
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core, homebrew/php).

...中略

==> Summary
🍺  /usr/local/Cellar/openssl/1.0.2n: 1,792 files, 12.3MB
==> Installing ruby-build
==> Downloading https://github.com/rbenv/ruby-build/archive/v20171226.tar.gz
==> Downloading from https://codeload.github.com/rbenv/ruby-build/tar.gz/v20171226
######################################################################## 100.0%
==> ./install.sh
🍺  /usr/local/Cellar/ruby-build/20171226: 373 files, 192KB, built in 3 seconds

rbenv에서 2.5.0 설치.
$ rbenv install 2.5.0
ruby-build: use openssl from homebrew
Downloading ruby-2.5.0.tar.bz2...
-> https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.0.tar.bz2
Installing ruby-2.5.0...
ruby-build: use readline from homebrew
Installed ruby-2.5.0 to /Users/nishihara/.rbenv/versions/2.5.0
$ rbenv local 2.5.0

우선 local에서 사용해 보자

좋은 웹페이지 즐겨찾기