I can't install ruby on rails on my mac - Sorry I know it's been posted 1 million times before

Hi guys

I have a macbook pro version 10.7.4.
I’m so keen to start using the ruby programming language and the ruby on
rails framework,
but I cannot download the damn thing ! It’s literally driving me crazy…

I get up to the readline stage and it reads the following:

checking whether make sets $(MAKE)… no
checking for gcc… no
checking for cc… no
checking for cc… no
checking for cl… no
configure: error: no acceptable C compiler found in $PATH

Also I have xcode downloaded and everything else that is required :S

This is the guide i’ve been following:

Please HELP !!!

Thanks in advance

If it’s been posted a million times before, have you read all the
responses to those questions?..

On 13 June 2012 11:33, blakeh92 [email protected] wrote:

This is the guide i’ve been following:

Dan Benjamin

You’re following a 7-year-old thread guide?! Can you not find one
that’s a bit more recent?

On Jun 13, 11:33am, blakeh92 [email protected] wrote:

Also I have xcode downloaded and everything else that is required :S

You have to install the command line tools separately these days
(there’s a ‘downloads’ section in Xcode where you can do that), but…

This is the guide i’ve been following:

Dan Benjamin

That tutorial is 7 years old. The entire thing is pretty much out of
date. Your mac already has a newer version of ruby installed, pretty
much no-one uses lighttpd or fastcgi any more (at least not for
development) etc.

Fred

If you encounter other problems give this a try:
http://railsoneclick.com/


Oscar Del B.
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

You didn’t say how you downloaded Xcode, but you’ll want the version
from
the App Store. Once that is installed, you’ll need to launch it, go to
Preferences, then the Downloads tab. You’ll see the option to install
the
command line tools at the bottom of the list of modules.

Although, if you start out using sqlite as the database, you probably
won’t
need to compile anything anyway.

Jim

Appreciate all of your responses !
I can’t believe I turned a blind eye to the link I posted that was 7
years
old… wow, however I was using other guides that were more recent as
well.
I’ll try all of your suggestions.

All the best guys.

Blake :slight_smile:

Yep, I’ve looked through plenty of threads… problem is they all date from
a while back and the installation process varies in every post :confused:

thx mate.

i didn’t try that, but http://railsinstaller.org/ has a one click
installer.

hope it helps

Download and install this goodie

Cheers,
Tan

Have you looked at RVM? If not, check it out. It makes
installing/managing
Ruby versions a synch, as well as gems.

On Fri, Jun 15, 2012 at 7:25 AM, paul h [email protected] wrote:

Have you looked at RVM? If not, check it out. It makes installing/managing
Ruby versions a synch, as well as gems.

I use these two pages to get RVM, Ruby and RoR setup and haven’t had
any problems

https://rvm.io/rvm/install/


Greg A.
http://twitter.com/akinsgre

Try this:
http://guides.railsgirls.com/install/#setup_for_os_x

Did you try…