rtomayko / posix-spawn

Ruby process spawning library
Other
519 stars 52 forks source link

Install on Mountain Lion fails #33

Closed tilsammans closed 12 years ago

tilsammans commented 12 years ago

posix-spawn 0.3.6 seems to rely on /usr/bin/gcc-4.2

This path does not exist on OS X Mountain Lion, even though XCode is installed.

sudo ln -s /usr/bin/gcc /usr/bin/gcc-4.2

The symlink fixes the problem locally.

tmm1 commented 12 years ago

This is likely because your ruby install was built with gcc-4.2. Rebuild a new ruby using rbenv, etc.

tilsammans commented 12 years ago

Okay, thanks. I'm not the only one though. http://stackoverflow.com/questions/12256616/os-x-mountain-lion-gcc-4-2-no-such-file-or-directory