CentOS rubygems 설치

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 }}