"우분투 rvm + ruby 설치"의 두 판 사이의 차이

 
(사용자 2명의 중간 판 19개는 보이지 않습니다)
1번째 줄: 1번째 줄:
;rvm 설치
{{다른뜻|CentOS rvm + ruby 설치}}
==개요==
;우분투 ruby-rvm 설치
;우분투 RVM 설치
* 이 과정을 수행하면 rvm, ruby, gem 이 설치됨


==확인==
==확인==
<source lang='cli'>
<source lang='console'>
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:
9번째 줄: 13번째 줄:


==설치==
==설치==
<source lang='cli'>
<source lang='console'>
root@zetawiki:~# curl -L https://get.rvm.io | bash -s stable
root@zetawiki:~# curl -sSL https://get.rvm.io | bash -s stable --ruby
  % Total    % Received % Xferd  Average Speed  Time    Time    Time  Current
Downloading https://github.com/rvm/rvm/archive/1.27.0.tar.gz
                                Dload  Upload  Total  Spent    Left  Speed
Downloading https://github.com/rvm/rvm/releases/download/1.27.0/1.27.0.tar.gz.asc
100  184  100  184    0    0    213      0 --:--:-- --:--:-- --:--:--  281
gpg: Signature made Tue 29 Mar 2016 10:49:47 PM KST using RSA key ID BF04FF17
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.26.11.tgz' - 'https://github.com/rvm/rvm/releases/download/1.26.11/1.26.11.tar.gz.asc'!
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'!
try downloading the signatures:
try downloading the signatures:


36번째 줄: 36번째 줄:
     https://keybase.io/mpapis
     https://keybase.io/mpapis
</source>
</source>
<source lang='cli'>
<source lang='console'>
root@zetawiki:~# gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
root@zetawiki:~# curl -sSL https://rvm.io/mpapis.asc | gpg --import -
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='cli'>
<source lang='console'>
root@zetawiki:~# curl -L https://get.rvm.io | bash -s stable
root@zetawiki:~# curl -sSL https://get.rvm.io | bash -s stable --ruby
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
100   184  100  184   0    0    212     0 --:--:-- --:--:-- --:--:--   280
   0    0   0    0    0    0      0     0 --:--:-- 0:00:02 --:--:--     0
100 22865 100 22865   0    0  18914     0  0:00:01 0:00:01 --:--:-- 18914
100 25.1M 100 25.1M   0    0  2388k     0  0:00:10 0:00:10 --:--:-- 5070k
Downloading https://github.com/rvm/rvm/archive/1.26.11.tar.gz
No checksum for downloaded archive, recording checksum in user configuration.
Downloading https://github.com/rvm/rvm/releases/download/1.26.11/1.26.11.tar.gz.asc
ruby-2.3.0 - #validate archive
gpg: Signature made Tue 31 Mar 2015 06:52:13 AM KST using RSA key ID BF04FF17
ruby-2.3.0 - #extract
gpg: Good signature from "Michal Papis (RVM signing) <mpapis@gmail.com>"
ruby-2.3.0 - #validate binary
gpg: WARNING: This key is not certified with a trusted signature!
ruby-2.3.0 - #setup
gpg:          There is no indication that the signature belongs to the owner.
ruby-2.3.0 - #gemset created /usr/local/rvm/gems/ruby-2.3.0@global
Primary key fingerprint: 409B 6B17 96C2 7546 2A17  0311 3804 BB82 D39D C0E3
ruby-2.3.0 - #importing gemset /usr/local/rvm/gemsets/global.gems....................................
    Subkey fingerprint: 62C9 E5F4 DA30 0D94 AC36  166B E206 C29F BF04 FF17
ruby-2.3.0 - #generating global wrappers........
GPG verified '/usr/local/rvm/archives/rvm-1.26.11.tgz'
ruby-2.3.0 - #gemset created /usr/local/rvm/gems/ruby-2.3.0
Creating group 'rvm'
ruby-2.3.0 - #importing gemsetfile /usr/local/rvm/gemsets/default.gems evaluated to empty gem list
 
ruby-2.3.0 - #generating default wrappers........
Installing RVM to /usr/local/rvm/
Creating alias default for ruby-2.3.0...
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 /etc/profile.d/rvm.sh`
   * To start using RVM you need to run `source /usr/local/rvm/scripts/rvm`
     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='cli'>
<source lang='console'>
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:
89번째 줄: 87번째 줄:
</source>
</source>
* SSH 재접속
* SSH 재접속
<source lang='cli'>
<source lang='console'>
root@zetawiki:~# rvm version
root@zetawiki:~# rvm version
rvm 1.26.11 (latest) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
rvm 1.27.0 (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>


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


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

2017년 6월 1일 (목) 14:34 기준 최신판

  다른 뜻에 대해서는 CentOS rvm + ruby 설치 문서를 참조하십시오.

1 개요[ | ]

우분투 ruby-rvm 설치
우분투 RVM 설치
  • 이 과정을 수행하면 rvm, ruby, gem 이 설치됨

2 확인[ | ]

root@zetawiki:~# rvm version
The program 'rvm' is currently not installed.  You can install it by typing:
apt-get install ruby-rvm

3 설치[ | ]

root@zetawiki:~# curl -sSL https://get.rvm.io | bash -s stable --ruby
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
gpg: Signature made Tue 29 Mar 2016 10:49:47 PM KST using RSA key ID BF04FF17
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.
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'!
try downloading the signatures:

    gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3

or if it fails:

    command curl -sSL https://rvm.io/mpapis.asc | gpg --import -

the key can be compared with:

    https://rvm.io/mpapis.asc
    https://keybase.io/mpapis
root@zetawiki:~# curl -sSL https://rvm.io/mpapis.asc | gpg --import -
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key D39DC0E3: public key "Michal Papis (RVM signing) <mpapis@gmail.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
root@zetawiki:~# curl -sSL https://get.rvm.io | bash -s stable --ruby
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
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
100 25.1M  100 25.1M    0     0  2388k      0  0:00:10  0:00:10 --:--:-- 5070k
No checksum for downloaded archive, recording checksum in user configuration.
ruby-2.3.0 - #validate archive
ruby-2.3.0 - #extract
ruby-2.3.0 - #validate binary
ruby-2.3.0 - #setup
ruby-2.3.0 - #gemset created /usr/local/rvm/gems/ruby-2.3.0@global
ruby-2.3.0 - #importing gemset /usr/local/rvm/gemsets/global.gems....................................
ruby-2.3.0 - #generating global wrappers........
ruby-2.3.0 - #gemset created /usr/local/rvm/gems/ruby-2.3.0
ruby-2.3.0 - #importing gemsetfile /usr/local/rvm/gemsets/default.gems evaluated to empty gem list
ruby-2.3.0 - #generating default wrappers........
Creating alias default for ruby-2.3.0...

  * To start using RVM you need to run `source /usr/local/rvm/scripts/rvm`
    in all your open shell windows, in rare cases you need to reopen all shell windows.

4 확인 2[ | ]

root@zetawiki:~# rvm version
The program 'rvm' is currently not installed.  You can install it by typing:
apt-get install ruby-rvm
  • SSH 재접속
root@zetawiki:~# rvm version
rvm 1.27.0 (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

5 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}