우분투 rvm + ruby 설치 편집하기

경고: 로그인하지 않았습니다. 편집을 하면 IP 주소가 공개되게 됩니다. 로그인하거나 계정을 생성하면 편집자가 사용자 이름으로 기록되고, 다른 장점도 있습니다.

편집을 취소할 수 있습니다. 이 편집을 되돌리려면 아래의 바뀐 내용을 확인한 후 게시해주세요.

최신판 당신의 편집
1번째 줄: 1번째 줄:
{{다른뜻|CentOS rvm + ruby 설치}}
;rvm 설치
==개요==
;우분투 ruby-rvm 설치
;우분투 RVM 설치
* 이 과정을 수행하면 rvm, ruby, gem 이 설치됨


==확인==
==확인==
<source lang='console'>
<source lang='cli'>
root@zetawiki:~# rvm version
root@zetawiki:~# rvm version
The program 'rvm' is currently not installed.  You can install it by typing:
The program 'rvm' is currently not installed.  You can install it by typing:
13번째 줄: 9번째 줄:


==설치==
==설치==
<source lang='console'>
<source lang='cli'>
root@zetawiki:~# curl -sSL https://get.rvm.io | bash -s stable --ruby
root@zetawiki:~# curl -L https://get.rvm.io | bash -s stable
Downloading https://github.com/rvm/rvm/archive/1.27.0.tar.gz
  % Total    % Received % Xferd  Average Speed  Time    Time    Time  Current
Downloading https://github.com/rvm/rvm/releases/download/1.27.0/1.27.0.tar.gz.asc
                                Dload  Upload  Total  Spent    Left  Speed
gpg: Signature made Tue 29 Mar 2016 10:49:47 PM KST using RSA key ID BF04FF17
100  184  100  184    0    0    213      0 --:--:-- --:--:-- --:--:--  281
100 22865  100 22865    0    0  16780      0  0:00:01  0:00:01 --:--:-- 16780
Downloading https://github.com/rvm/rvm/archive/1.26.11.tar.gz
Downloading https://github.com/rvm/rvm/releases/download/1.26.11/1.26.11.tar.gz.asc
... (생략)
gpg: Can't check signature: public key not found
gpg: Can't check signature: public key not found
Warning, RVM 1.26.0 introduces signed releases and automated check of signatures when GPG software found.
Warning, RVM 1.26.0 introduces signed releases and automated check of signatures when GPG software found.
Assuming you trust Michal Papis import the mpapis public key (downloading the signatures).
Assuming you trust Michal Papis import the mpapis public key (downloading the signatures).


GPG signature verification failed for '/usr/local/rvm/archives/rvm-1.27.0.tgz' - 'https://github.com/rvm/rvm/releases/download/1.27.0/1.27.0.tar.gz.asc'!
GPG signature verification failed for '/usr/local/rvm/archives/rvm-1.26.11.tgz' - 'https://github.com/rvm/rvm/releases/download/1.26.11/1.26.11.tar.gz.asc'!
try downloading the signatures:
try downloading the signatures:


36번째 줄: 36번째 줄:
     https://keybase.io/mpapis
     https://keybase.io/mpapis
</source>
</source>
<source lang='console'>
<source lang='cli'>
root@zetawiki:~# curl -sSL https://rvm.io/mpapis.asc | gpg --import -
root@zetawiki:~# gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
gpg: keyring `/root/.gnupg/secring.gpg' created
gpg: requesting key D39DC0E3 from hkp server keys.gnupg.net
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key D39DC0E3: public key "Michal Papis (RVM signing) <mpapis@gmail.com>" imported
gpg: key D39DC0E3: public key "Michal Papis (RVM signing) <mpapis@gmail.com>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: Total number processed: 1
gpg:              imported: 1  (RSA: 1)
gpg:              imported: 1  (RSA: 1)
</source>
</source>
<source lang='console'>
<source lang='cli'>
root@zetawiki:~# curl -sSL https://get.rvm.io | bash -s stable --ruby
root@zetawiki:~# curl -L https://get.rvm.io | bash -s stable
Downloading https://github.com/rvm/rvm/archive/1.27.0.tar.gz
Downloading https://github.com/rvm/rvm/releases/download/1.27.0/1.27.0.tar.gz.asc
... (생략)
In case of problems: https://rvm.io/help and https://twitter.com/rvm_io
rvm 1.27.0 (latest) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
Searching for binary rubies, this might take some time.
Found remote file https://rubies.travis-ci.org/ubuntu/14.04/x86_64/ruby-2.3.0.tar.bz2
Checking requirements for ubuntu.
Installing requirements for ubuntu.
Updating system...........
Installing required packages: libsqlite3-dev, sqlite3, libgmp-dev, libgdbm-dev, libncurses5-dev, bison, pkg-config, libffi-dev........
Requirements installation successful.
ruby-2.3.0 - #configure
ruby-2.3.0 - #download
   % Total    % Received % Xferd  Average Speed  Time    Time    Time  Current
   % Total    % Received % Xferd  Average Speed  Time    Time    Time  Current
                                 Dload  Upload  Total  Spent    Left  Speed
                                 Dload  Upload  Total  Spent    Left  Speed
   0    0   0    0    0    0      0     0 --:--:-- 0:00:02 --:--:--     0
100  184  100   184   0    0    212     0 --:--:-- --:--:-- --:--:--   280
100 25.1M 100 25.1M   0    0  2388k     0  0:00:10 0:00:10 --:--:-- 5070k
100 22865 100 22865   0    0  18914     0  0:00:01 0:00:01 --:--:-- 18914
No checksum for downloaded archive, recording checksum in user configuration.
Downloading https://github.com/rvm/rvm/archive/1.26.11.tar.gz
ruby-2.3.0 - #validate archive
Downloading https://github.com/rvm/rvm/releases/download/1.26.11/1.26.11.tar.gz.asc
ruby-2.3.0 - #extract
gpg: Signature made Tue 31 Mar 2015 06:52:13 AM KST using RSA key ID BF04FF17
ruby-2.3.0 - #validate binary
gpg: Good signature from "Michal Papis (RVM signing) <mpapis@gmail.com>"
ruby-2.3.0 - #setup
gpg: WARNING: This key is not certified with a trusted signature!
ruby-2.3.0 - #gemset created /usr/local/rvm/gems/ruby-2.3.0@global
gpg:          There is no indication that the signature belongs to the owner.
ruby-2.3.0 - #importing gemset /usr/local/rvm/gemsets/global.gems....................................
Primary key fingerprint: 409B 6B17 96C2 7546 2A17  0311 3804 BB82 D39D C0E3
ruby-2.3.0 - #generating global wrappers........
    Subkey fingerprint: 62C9 E5F4 DA30 0D94 AC36  166B E206 C29F BF04 FF17
ruby-2.3.0 - #gemset created /usr/local/rvm/gems/ruby-2.3.0
GPG verified '/usr/local/rvm/archives/rvm-1.26.11.tgz'
ruby-2.3.0 - #importing gemsetfile /usr/local/rvm/gemsets/default.gems evaluated to empty gem list
Creating group 'rvm'
ruby-2.3.0 - #generating default wrappers........
 
Creating alias default for ruby-2.3.0...
Installing RVM to /usr/local/rvm/
Installation of RVM in /usr/local/rvm/ is almost complete:
 
  * First you need to add all users that will be using rvm to 'rvm' group,
    and logout - login again, anyone using rvm will be operating with `umask u=rwx,g=rwx,o=rx`.


   * To start using RVM you need to run `source /usr/local/rvm/scripts/rvm`
   * To start using RVM you need to run `source /etc/profile.d/rvm.sh`
     in all your open shell windows, in rare cases you need to reopen all shell windows.
     in all your open shell windows, in rare cases you need to reopen all shell windows.
# Administrator,
#
#  Thank you for using RVM!
#  We sincerely hope that RVM helps to make your life easier and more enjoyable!!!
#
# ~Wayne, Michal & team.
In case of problems: http://rvm.io/help and https://twitter.com/rvm_io
</source>
</source>


==확인 2==
==확인 2==
<source lang='console'>
<source lang='cli'>
root@zetawiki:~# rvm version
root@zetawiki:~# rvm version
The program 'rvm' is currently not installed.  You can install it by typing:
The program 'rvm' is currently not installed.  You can install it by typing:
87번째 줄: 89번째 줄:
</source>
</source>
* SSH 재접속
* SSH 재접속
<source lang='console'>
<source lang='cli'>
root@zetawiki:~# rvm version
root@zetawiki:~# rvm version
rvm 1.27.0 (latest) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
rvm 1.26.11 (latest) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
root@zetawiki:~# ruby -v
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]
root@zetawiki:~# gem -v
2.5.1
</source>
</source>


==같이 보기==
==같이 보기==
*[[리눅스 RVM ruby 설치]] ★
*[[리눅스 ruby 설치]]
*[[CentOS ruby 설치]]
*[[우분투 ruby 설치]]
*[[RVM]]
*[[RVM]]


[[분류: RVM]]
[[분류: RVM]]
[[분류: ruby]]

제타위키에서의 모든 기여는 크리에이티브 커먼즈 저작자표시-동일조건변경허락 3.0 라이선스로 배포된다는 점을 유의해 주세요(자세한 내용에 대해서는 제타위키:저작권 문서를 읽어주세요). 만약 여기에 동의하지 않는다면 문서를 저장하지 말아 주세요.
또한, 직접 작성했거나 퍼블릭 도메인과 같은 자유 문서에서 가져왔다는 것을 보증해야 합니다. 저작권이 있는 내용을 허가 없이 저장하지 마세요!

취소 편집 도움말 (새 창에서 열림)

이 문서에서 사용한 틀: