Welcome to AUXNET IRC Network

Idle on AUXnet a lot? Why not play our idlerpg game, you can check it out at #idleRPG - for more information visit the website http://idlerpg.auxnet.org

Install Ruby 1.8.7 On CentOS 5.9 Using Yum

Attention: open in a new window. PDFPrintE-mail

Create New Ruby Repository File

Use your text editor to open a new file for editing in the /etc/yum.repos.d/ directory called kbs-el5-rb187.repo and add the below contents to the file.


NOTE: The ruby packages in this repo are built to replace the system ruby, and will drop into the default systemwide path. You might want to consider what implications this might have on your existing installed apps and ruby components.

Using Yum Package Manager

After saving the file you created above you can go ahead and install Ruby using syntax similar to the below which will install Ruby and any necessary dependencies.

# yum install ruby rubygems

That is all you have to do. Ruby 1.8.7 is now installed on your server.
To add Sass and Compass support for your Ruby run

# gems install sass
# gem install compass

When done, restart your apache server and start using Sass.