When trying to install Ruby 1.9.3 using RVM (rvm install ruby 1.9.3) I get the following error:
Searching for binary rubies, this might take some time.
No b
Your main issue is:
configure: error: C compiler cannot create executables
So search for solutions to that problem. Like:
rvm install 1.9.3 --with-gcc=clang
Other examples:
It is a duplicate, there are already few answers for this but I have made the fix also into RVM, make sure to run rvm get head
first and read the output - the fix is displayed there.
This problem is also reported back to RailsInstaller: https://github.com/railsinstaller/railsinstaller-nix/issues/10
Xcode->Preferences
Check "Command line tools"