sstephenson/ruby-build — Issue #72: Ruby-build not detecting gcc
Author: bradly
Created: 2011-10-23 19:36:29+00:00
State: open

Installed rbenv and ruby-build today and when I try and install a Ruby I get an error that a suitable gcc binary couldn't be found.

```bash
~ $ rbenv install 1.9.2-p290

ERROR: This package must be compiled with GCC, and we
couldn't find a suitable `gcc' binary on your system.
Please install GCC and try again.

You can install these GCC packages on Mac OS X:
https://github.com/kennethreitz/osx-gcc-installer/downloads

BUILD FAILED

Inspect or clean up the working tree at /var/folders/df/2c1r37kd52l_5t54bb25xwt80000gn/T/ruby-build.20111023123010.330

~ $ which gcc
/usr/bin/gcc

~ $ gcc
i686-apple-darwin11-llvm-gcc-4.2: no input files

~ $ ruby-build
ruby-build 20110928
usage: ruby-build [-v|--verbose] definition prefix
ruby-build --definitions
```