installing Ruby On Rails on Centos

8 views
Skip to first unread message

sachin kewale

unread,
Jan 12, 2012, 12:50:39 AM1/12/12
to rubyonra...@googlegroups.com
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

Ahmy Yulrizka

unread,
Jan 12, 2012, 1:50:48 AM1/12/12
to rubyonra...@googlegroups.com
try to install those packages
yum install gcc gcc-c++

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


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Peter Vandenabeele

unread,
Jan 12, 2012, 3:50:12 AM1/12/12
to rubyonra...@googlegroups.com
On Thu, Jan 12, 2012 at 7:50 AM, Ahmy Yulrizka <ahm...@gmail.com> wrote:
try to install those packages
yum install gcc gcc-c++
and install ruby then rails. or install usign rvm http://beginrescueend.com/
Ahmy Yulrizka



On Thu, Jan 12, 2012 at 12:50 PM, sachin kewale <sachin...@gmail.com> 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 Vandenabeele
http://twitter.com/peter_v

djangst

unread,
Jan 12, 2012, 1:55:14 PM1/12/12
to Ruby on Rails: Talk
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.
Reply all
Reply to author
Forward
0 new messages