Getting Ruby 1.8.7 installed on Mountain Lion (10.8)

后端 未结 3 1238
夕颜
夕颜 2020-12-25 07:56

I\'m having a lot of trouble getting Ruby 1.8.7 installed on my clean install of Mountain Lion. I\'ve looked around on Stack Overflow and don\'t see anything that specifical

3条回答
  •  Happy的楠姐
    2020-12-25 08:48

    Latest Xcode provides only clang - not GNU gcc, you need to install gcc-4.2 to be able to compile Ruby 1.8.7 properly, following command will show available options:

    rvm requirements
    

    currently only ruby 1.9.3-p125 and later has limited support for clang, but this is limited support, and still errors can be found.

提交回复
热议问题