www.centos.org Forum Index CentOS 5 - Application & Software Support Support for ruby,rubygems in Centos 5.1
|
Bottom Previous Topic Next Topic |
| |
|
|
|---|
| Poster | Thread | Rated: 6 Votes |
|---|
|
Support for ruby,rubygems in Centos 5.1 | #1 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2005/10/12
From
Posts: 3
|
I rebuild few ruby-1.8..6 rpms from fedora under Centos 5.1. My yum repo is avilable under:
http://repo.premiumhelp.eu/ruby/ for use with yum create ruby.repo file in /etc/yum.repos.d/: [ruby] name=ruby baseurl=http://repo.premiumhelp.eu/ruby/ gpgcheck=0 enabled=0 -------------------------------------------------------------------------- usage: #yum --enablerepo=ruby list *RUBY* To hosting my web pages i use nginx(from repo) http server: Package rubygems allow install aditional ruby module: rails, RMagick .... gem install rails all packages: ImageMagick-6.3.5.9-1.i686.rpm 22-Dec-2007 00:24 6447396 ImageMagick-c++-6.3.5.9-1.i686.rpm 22-Dec-2007 00:24 715450 ImageMagick-c++-devel-6.3.5.9-1.i686.rpm 22-Dec-2007 00:24 62619 ImageMagick-devel-6.3.5.9-1.i686.rpm 22-Dec-2007 00:24 80911 ImageMagick-perl-6.3.5.9-1.i686.rpm 22-Dec-2007 00:24 240131 nginx-0.5.33-1.i686.rpm 22-Dec-2007 09:22 348461 ruby-1.8.6.111-1.i686.rpm 21-Dec-2007 21:30 538085 ruby-devel-1.8.6.111-1.i686.rpm 21-Dec-2007 21:31 546050 ruby-docs-1.8.6.111-1.i686.rpm 21-Dec-2007 21:31 1549995 ruby-irb-1.8.6.111-1.i686.rpm 21-Dec-2007 21:31 71197 ruby-libs-1.8.6.111-1.i686.rpm 21-Dec-2007 21:30 2748359 ruby-mode-1.8.6.111-1.i686.rpm 21-Dec-2007 21:31 57939 ruby-mysql-2.7.4-1.i686.rpm 23-Dec-2007 17:43 72855 ruby-postgres-0.7.1-6.i686.rpm 23-Dec-2007 17:57 51864 ruby-rdoc-1.8.6.111-1.i686.rpm 21-Dec-2007 21:31 140187 ruby-ri-1.8.6.111-1.i686.rpm 21-Dec-2007 21:31 1845897 ruby-tcltk-1.8.6.111-1.i686.rpm 21-Dec-2007 21:31 1784159 rubygems-0.9.4-2.noarch.rpm 22-Dec-2007 23:48 525269 Jacek wolk(at)jablko.one.pl |
||
Posted on: 2007/12/23 18:47
|
|||
|
Re: Support for ruby,rubygems in Centos 5.1 | #3 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2008/5/14
From
Posts: 1
|
Thank you for doing this. I really appreciate your contributions to the community.
|
||
Posted on: 2008/5/14 17:57
|
|||
|
Re: Support for ruby,rubygems in Centos 5.1 | #4 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2008/6/10
From
Posts: 1
|
I also appreciate your work.
|
||
Posted on: 2008/6/10 13:59
|
|||
|
Re: Support for ruby,rubygems in Centos 5.1 | #5 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2008/2/2
From
Posts: 4
|
Quote:
Or if you're already on 1.8.5 you can do an upgrade like: yum --enablerepo=ruby upgrade Thanks to all for these posts. They helped me a lot. Chris |
||
Posted on: 2009/8/18 4:18
|
|||
|
Re: Support for ruby,rubygems in Centos 5.1 | #6 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2010/5/1
From
Posts: 1
|
Quote:
you better include the package name you want to upgrade, e.g.: yum --enablerepo=ruby upgrade ruby or you will upgrade every package on your system, which is probably not what you want (at that moment). |
||
Posted on: 2010/5/1 17:57
|
|||
|
Re: Support for ruby,rubygems in Centos 5.1 | #7 |
|
|---|---|---|---|
|
Newbie
![]()
Joined: 2010/6/8
From
Posts: 2
|
The ruby in that repo hasn't been touched since 2007.
You can build a much better one yourself: in Fedora 13 yumdownloader --source ruby provides ruby-1.8.6.399-5.fc13.src.rpm in CentOS 5.5 to repackage the Fedora SRPM as a RHEL SRPM mkdir -p /usr/src/redhat/SOURCES rpm -Uhv --nomd5 ruby-1.8.6.399-5.fc13.src.rpm cd /usr/src/redhat/SPECS rpmbuild -bs --nodeps ruby.spec provides ruby-1.8.6.399-5.src.rpm Once sufficient RPM dependencies have been satisfied yum install rpm-build gcc autoconf readline-devel ncurses-devel gdbm-devel tcl-devel tk-devel libX11-devel openssl-devel db4-devel byacc emacs-common then "rpmbuild -ba ruby.spec" produces ruby-1.8.6.399-5.x86_64.rpm ruby-devel-1.8.6.399-5.x86_64.rpm ruby-docs-1.8.6.399-5.x86_64.rpm ruby-irb-1.8.6.399-5.x86_64.rpm ruby-libs-1.8.6.399-5.x86_64.rpm ruby-mode-1.8.6.399-5.x86_64.rpm ruby-rdoc-1.8.6.399-5.x86_64.rpm ruby-ri-1.8.6.399-5.x86_64.rpm ruby-static-1.8.6.399-5.x86_64.rpm ruby-tcltk-1.8.6.399-5.x86_64.rpm |
||
Posted on: 2010/6/9 22:29
|
|||
|
Re: Support for ruby,rubygems in Centos 5.1 | #8 |
|
|---|---|---|---|
|
Professional Board Member
![]()
Joined: 2007/12/26
From
Posts: 408
|
To anyone who is reading and will be following this post, please read the guide on rebuilding srpm and please take necessary precautions such as rebuilding srpms as non-root.
|
||
Posted on: 2010/6/10 7:35
|
|||
Top Previous Topic Next Topic |
|



Topic options
Print Topic
Threaded
Newest First
6 Votes
placentiusz




You cannot start a new topic.
You can view topic.