Phone: +65-8585-1750

Address: 30 Holland Close, Singapore

Update Ruby on Fedora 12

Tue, May 3, 2011 mdda OSS Blog Comments

Update Ruby on Fedora 12

Fedora 12 maxes out it’s Ruby version at 1.8.6. Unfortunately, compass / sass requires 1.8.7. The following steps creates a suitable RPM, and installs it :

# cd ~
# wget http://mo.morsi.org/blog/files/ruby-1.8.7.249-1.fc11.src_.rpm
# yum install rpm-build
# yum install ncurses-devel gdbm-devel tcl-devel tk-devel libX11-devel  autoconf db4-devel byacc bison emacs compat-readline5-devel
# rpmbuild --rebuild ruby-1.8.7.249-1.fc11.src_.rpm 
# cd /root/rpmbuild/RPMS/i386/
# rpm -Uvh *

$ export RUBYLIB="/usr/lib/ruby/site_ruby/1.8/:/usr/lib/ruby/1.8/"
$ compass create XYZ


blog comments powered by Disqus