"CentOS rubygems 설치"의 두 판 사이의 차이

 
3번째 줄: 3번째 줄:
;CentOS gem 설치
;CentOS gem 설치
* yum으로는 최신 버전 설치가 어려움
* yum으로는 최신 버전 설치가 어려움
* 최신버전을 설치하려면 리눅스 RVM ruby 설치 참조
* 최신버전을 설치하려면 [[리눅스 RVM ruby 설치]] 참조


==확인==
==확인==
16번째 줄: 16번째 줄:
==설치==
==설치==
<source lang='console'>
<source lang='console'>
[root@zetawiki ~]# yum install rubygem
[root@zetawiki ~]# yum install rubygems
... (생략)
... (생략)
===================================================================================
===================================================================================

2017년 6월 1일 (목) 13:22 기준 최신판

1 개요[ | ]

CentOS rubygems 설치
CentOS gem 설치

2 확인[ | ]

[root@zetawiki ~]# rpm -qa | grep ruby
[root@zetawiki ~]# ruby --version
-bash: ruby: command not found
[root@zetawiki ~]# gem -v
-bash: gem: command not found

3 설치[ | ]

[root@zetawiki ~]# yum install rubygems
... (생략)
===================================================================================
 Package                 Arch          Version                   Repository   Size
===================================================================================
Installing:
 rubygems                noarch        1.3.7-5.el6               base        207 k
Installing for dependencies:
 compat-readline5        x86_64        5.2-17.1.el6              base        130 k
 ruby                    x86_64        1.8.7.374-5.el6           base        538 k
 ruby-irb                x86_64        1.8.7.374-5.el6           base        318 k
 ruby-libs               x86_64        1.8.7.374-5.el6           base        1.7 M
 ruby-rdoc               x86_64        1.8.7.374-5.el6           base        381 k

Transaction Summary
===================================================================================
Install       6 Package(s)

Total download size: 3.2 M
Installed size: 11 M
Is this ok [y/N]: y
... (생략)
Installed:
  rubygems.noarch 0:1.3.7-5.el6                                                    

Dependency Installed:
  compat-readline5.x86_64 0:5.2-17.1.el6     ruby.x86_64 0:1.8.7.374-5.el6         
  ruby-irb.x86_64 0:1.8.7.374-5.el6          ruby-libs.x86_64 0:1.8.7.374-5.el6    
  ruby-rdoc.x86_64 0:1.8.7.374-5.el6        

Complete!

4 확인 2[ | ]

[root@zetawiki ~]# rpm -qa | grep ruby
ruby-rdoc-1.8.7.374-5.el6.x86_64
ruby-libs-1.8.7.374-5.el6.x86_64
ruby-irb-1.8.7.374-5.el6.x86_64
rubygems-1.3.7-5.el6.noarch
ruby-1.8.7.374-5.el6.x86_64
[root@zetawiki ~]# ruby --version
ruby 1.8.7 (2013-06-27 patchlevel 374) [x86_64-linux]
[root@zetawiki ~]# gem -v
1.3.7

5 같이 보기[ | ]

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