I am trying to install Ruby 1.9.2 in my Mac machine, where I am using OS X 10.7.5. During the installation, the installer asked me to first install GCC. After I got GCC installed, the Ruby installation succeeded.
Why does Ruby depend from GCC?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Some gems require native C extensions, therefore in order to install these gems, GCC needs to be installed.
Also, if your are installing Ruby from source, then you’ll need GCC to compile.