The other day I just randomly delete the whole ruby framework now I want to reinstall it. It is strange that I can not find /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby file even if I reinstall it. However, the lib under /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr appear each time I reinstall.
I use the command line dmg to reinstall, also I used the reinstalling xcode approach. But it is no use.
The homebrew is using the framework ruby. So that's why I want to reinstall the framework.
Can any people help me.