Ruby Version Manager
WARNING |
가급적 rbenv를 사용하는 편이 좋다. |
Ruby Version Manager, often abbreviated as RVM, is a unix-like software platform designed to manage multiple installations of Ruby on the same device.
How to install
Before any other step install mpapis public key (might need gpg2)
RVM을 설치한다.
## Install RVM (development version):
$ \curl -L https://get.rvm.io | bash
## OR Install RVM stable with ruby:
$ \curl -sSL https://get.rvm.io | bash -s stable --ruby
## OR Select a specific version.
$ \curl -sSL https://get.rvm.io | bash -s stable --ruby=2.0.0
참고로 위의 \curl
은 Bash에서 alias가 아닌, 원본 명령어를 사용하라는 의미이다.
이후 rvm을 사용하기 위해 로그아웃하거나 아래와 같이 실행하면 된다.
이후 RVM으로 Ruby를 설치할 수 있다.
How to use
-
rvm list
: 설치된 루비 목록이 출력된다.
See also
Favorite site
- RVM web site
- Wikipedia (en) RVM에 대한 설명
- [추천] 멘붕없이 RVM과 루비 설치하기 1
- rvm 설치
- Stackoverflow: How do I install rvm without root access? (루트 권한 없이 RVM설치 방법)
References
-
Install_the_RVM_and_Ruby.pdf ↩