I'm installing RVM & Ruby without Xcode's Command Line Tools (on Mac OS X 10.8.2 (12C60) (Mountain Lion) with Xcode 4.5 (4G182)).
RVM installs fine. But, when I try to install Ruby, I get error: limits.h: No such file or directory
https://gist.github.com/3789921#L241.
But, that file exists there because cat
works and so does:
$ file /usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1/include/limits.h
/usr/local/Cellar/apple-gcc42/4.2.1-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1/include/limits.h: ASCII c program text
So, why does bash say it doesn't exist?
The following questions are similar but unhelpful: