News for hackers. Stuff that matters.
Re:Ruby 1.9.3 via RVM on Mac OSX Lion: Success Story by lloeki on Monday February 13, 2012 @10:21AM (#3585874)
This only occurs with Xcode 4.2, while 4.1 has no issue. Reason is Apple went LLVM.

I encountered the issue previously with rbenv [0]. Even if it builds correctly with clang various tests subsequenty fail, although they appear to pass on ruby trunk.

So for now, one should rather install gcc via the installer, which also allows to build older versions of ruby if need be.

[0] https://github.com/sstephenson/ruby-build/pull/87

Re:Ruby 1.9.3 via RVM on Mac OSX Lion: Success Story by mambodog on Monday February 13, 2012 @10:41AM (#3585958)
I managed to install just fine with clang, using

    rvm install 1.9.3 --with-gcc=clang
Re:Ruby 1.9.3 via RVM on Mac OSX Lion: Success Story by edgardcastro on Monday February 13, 2012 @11:39AM (#3586195)
Same here, no problem. Lion and Xcode 4.2.

Remember that after downloading Xcode form App Store you actually have to INSTALL it and after RUN IT at least once so everything works properly.

Re:Ruby 1.9.3 via RVM on Mac OSX Lion: Success Story by lloeki on Monday February 13, 2012 @04:22PM (#3587394)
Please reread, including comments in the linked github post. 1.9.3 does compile with clang, but ruby's own test suite ('make test' in the ruby build dir) does not pass.

Also, if you had 4.1 then upgraded to 4.2 you may still have 4.1 gcc around.