Wednesday, March 4, 2015

[CentOS]Installing Ruby on CentOS

This time it is installing Ruby on CentOS :D. Yes. I did it. And I want to share the steps I have followed with you all !! :) :)

wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.tar.gz
tar xzvf ruby-1.9.3-p0.tar.gz
cd ruby-1.9.3-p0
 ./configure
 make install

Done !! And I tried to run a ruby script and it gave the error related to permission to the file.
So I have changed the permission for that file as folows,

chmod +x hello.rb

Cheers!
"do good and good will come to you!"

No comments: