Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Q: Does ruby-build require xcode? Will it work without it? #223
ruby-build needs to have a compiler toolchain present in order for it to build the Rubies. Mac OS X doesn't come with a compiler installed by default, so you need to install one.
There are two official ways to do this: install Xcode, or install 'Command Line Tools for Xcode'. The latter is a much smaller install (around 140 MB), available from https://developer.apple.com/downloads/index.action and which provides just the software necessary for compiling at the command line.