Installing Ruby On Rails on Centos

hi all,
i am trying to install Ruby on rails on Centos,but giving following
error for gcc complier
“gcc compiler is missing”
is there any other alternative to install Ruby on rails on Centos or
steps to install ruby on rails on Centos ?


Thanks
Sachin S. Kewale

try to install those packages

yum install gcc gcc-c++

and install ruby then rails. or install usign rvm
http://beginrescueend.com/

Ahmy Y.

For the base install I recommend the Slicehost guides:

http://articles.slicehost.com/2010/5/15/centos-5-5-setup-part-1
http://articles.slicehost.com/2010/5/15/centos-5-5-setup-part-2

Part 2 includes:

sudo yum groupinstall ‘Development Tools’

They also have guides for installing RoR and other software.

On Thu, Jan 12, 2012 at 7:50 AM, Ahmy Y. [email protected]
wrote:

On Thu, Jan 12, 2012 at 12:50 PM, sachin kewale [email protected]wrote:

hi all,
i am trying to install Ruby on rails on Centos,but giving following
error for gcc complier
“gcc compiler is missing”
is there any other alternative to install Ruby on rails on Centos or
steps to install ruby on rails on Centos ?

If you go the rvm way (which I certainly would advice), you
may also look at the rvmsh project for inspiration. I think it
was quite well tested by Bryan on a .rpm based distribution
(Fedora in that case).

https://github.com/dunsmoreb/rvmsh

Peter


Peter V.
http://twitter.com/peter_v
http://rails.vandenabeele.com

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs