Unable to install rails

Hello all,
I am stuck and I need your help. I tried to install rails and got the
mkmf error. I installed ruby1.8-dev and I am still getting the same
error.

Rails install error:

Have you tried installing rvm?

It may not be easy but it will handle your ruby versions (that seems to be the problem)

Javier Q.

Try using Sudo

Also, Xcode could be out of date re: this problem (http://railsforum.com/viewtopic.php?id=22116)

Javier Quarite wrote in post #1038456:

Have you tried installing rvm?

It may not be easy but it will handle your ruby versions (that seems to
be
the problem)

Javier Q.

I just did that and it resolve the issues. Thanks.

The error message refer version 1.9.1

I suggest install version 1.9.2 using rvm.

Raul

El 28/12/2011 02:33 p.m., Francesca Krihely escribi�:

My recommendation is to use rails ready, I used it the other day when setting up my MacBook and was really excited with the results.

https://github.com/joshfng/railsready

Does railsready use RVM? I've followed the RVM instructions on a
couple machines and never had any problems installing RoR on a Mac.

From a quick look at the link, it also gives you Homebrew (not a good idea
if have MacPorts/fink installed) & it is recommended to run it on a fresh
install of the OS. There is an rvm option.

Bit over the top for my liking...

Cheers,

    Phil...