8000 GitHub - alexlapin/ruby-1.9.3-rpm: Create rpm for ruby 1.9.3-p327
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

alexlapin/ruby-1.9.3-rpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

RHEL/CentOS 5/6

I use this spec to make rpm and install ruby 1.9.3-p327 to CentOS 5.5 x86_64

Important:

Please remove all other ruby 1.8.x packages from your system (if you don't use rvm). Use rpm -qa | grep ^ruby to find old packages. Then run rpm -e for every package from the list you got.

How to install ruby-1.9.3-rpm

Create rpm for ruby 1.9.3-p327

yum install -y rpm-build rpmdevtools
rpmdev-setuptree
cd ~/rpmbuild/SOURCES
wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p327.tar.gz
cd ~/rpmbuild/SPECS
wget https://raw.github.com/AlexLapin/ruby-1.9.3-rpm/master/ruby19.spec
rpmbuild -bb ruby19.spec

And install it:

ARCH=`uname -m`
rpm -Uvh ~/rpmbuild/RPMS/${ARCH}/ruby-1.9.3p327-1.${ARCH}.rpm

Check ruby:

ruby -v
ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-linux]

Install Rails:

gem install rails

About

Create rpm for ruby 1.9.3-p327

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0