osx - Yosemite upgrade broke ruby.h -


After upgrading to Yosemite, I get this error which contains anything that is ruby.h < / code>:

 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/Ruby in  file Were included. Structure / Version / 2.0 / usr / include / ruby ​​2.0.0 / ruby.h: 33: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System / Library / Frameworks / Ruby.framework / Versions / 2.0 / usr / include / ruby-2.0.0 / ruby.h: 24: 10: Fatal Error: 'ruby / config.h' file "#included dark red Did not get /config.h "^ 1 Error generated [1]: *** [objects / if_ruby.o] making error 1 [1]: *** Waiting for incomplete jobs .... Make: *** [first] error 2  

and sure enough, /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10 .9.sdk / System / Library / Frameworks / Ruby.framework / Versions / 2.0 / usr / included / ruby ​​2.0.0 / dark red / config.h is not really.

  $ ls -laF /Applications/Xcode.app/Contents/Developer/ platform / MacOSXkplatform / Developer / SDKs / MacOSXl0k9ksdk / System / Library / Frameworks / Ruby.framework / version / 2.0 / usr / include / ruby ​​2.0.0 / ruby ​​/ total 72 drwxr-XR-x 21 root mill 714 Julai 29 21:56 ./ drwxr-xr-x 5 root factor 170 29 July 21: 56 ../Drade X-XR-X7 Root Wheel 238 July 29 21:56 Backward / -RRRR-2 Root Wheel 3360 September 21 15:25 Debug. -ardblu-R-R -2 Root Child 5553 September 21 15:25 defines H-R-R-R -2 2 root wheel 881 2l Sitnbr 15:25 Digest H-R-R-R -2 root wheel 7628 21 September 15:25 DL HRRRR-2 Root Wheel 14123 P21 15:25 Encoding HRRR Route Route Wheel 32904 Sep 21 15:25 intern.h-rw- R - r-- 2 root wheel 586 September 9 15:25 io.h - rw-r-r2 2 root wheel 4522 September 21 15:25 is missing. RR-R-R2 Route Wheel 37617 21 Sep. 15:25 ONGURUA H-R-R-R - 2 Route Wheel 1502 Sep 21 15:25 re.h-rw-r - r-- 2 Root Wheel 890 Sep 21 15:25 regex.h-rw-r - r-- 2 root wheel 49734 Sep 21 15: 25 ruby.h-rw-r - r-- Root mill 4651 Sep 21 15:25 st.h-rw- R - r-- 2 root wheel 374 Sep 21 15:25 sub.h-rw-R - r-- 2 root wheel 1102 Sep 21 15:25 thread h-rw-r - r-- 2 root chuck 2139 September 21 15:25 UPR-R-R-R2 Route wheel 1968 September 21 15:25 version.h-rw-r - r-- 2 Root Wheel 1794 September 21 15:25 vm.h  

Was a file installed by mistake? Does yosemat ship with just a slip ruby ​​file set?

What is the best way to fix this? Can I open source code to get the right source?

A note on this: After upgrading to "OS X El Capitan", part of this problem After I installed the command line tools by running 'xcode-select-install', my ruby ​​building environment started working again.


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -