osx - ruby-1.9.2 won't install - could not find compiler and 'make' tool -


every time run rvm install ruby-1.9.2-p320 following message.

searching binary rubies, might take time. no binary rubies available for: osx/10.8/x86_64/ruby-1.9.2-p320. continuing compilation. please read 'rvm mount' more information on binary rubies. checking requirements osx. can not find compiler , 'make' tool - make sure xcode and/or command line tools installed. requirements installation failed status: 11. 

i starting try learn program , understand need able install , run different versions of ruby other default 1.8.something. have close no idea doing please dumb-down answer. in advance.

as obvious error rvm looking gcc compiler not able find it. 2 ways fix this: 1) install gcc compiler specific osx form https://github.com/kennethreitz/osx-gcc-installer

2)

  1. install xcode

  2. since latest version of xcode no longer ship command line tools it, install command-line tools

xcode 4.4 , later install command line tools

https://developer.apple.com/library/ios/documentation/developertools/conceptual/whatsnewxcode/articles/xcode_4_3.html