Reputation: 2244
I've been following all the instructions on http://beginrescueend.com/rvm/install/ and http://beginrescueend.com/rvm/basics/
In the terminal I can type in "type rvm" and it says "rvm is a function" so it's supposed to have installed correctly.
Now, when I type in something like: rvm install ruby-1.9.2-p318, rvm install 1.9.2 or anything else that seems to run the install process I get the following errors
Error running 'make ', please read /Users/Nick/.rvm/log/ruby-1.9.2-p318/yaml/make.log
Error running ' ./configure --prefix=/Users/Nick/.rvm/rubies/ruby-1.9.2-p318 --enable-shared --disable-install-doc --with-libyaml --with-opt-dir=/Users/Nick/.rvm/usr ', please read /Users/Nick/.rvm/log/ruby-1.9.2-p318/configure.log
There has been an error while running configure. Halting the installation.
ls: /Users/Nick/.rvm/rubies/*/bin/ruby: No such file or directory
So I opened the install.log file and it says this:
configure: error: in `/Users/Nick/.rvm/src/yaml-0.1.4':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details
There is no config.log file.
Upvotes: 1
Views: 585
Reputation: 8829
Just a sidenote: Even with XCode installed you may run into similar problem. The solution is here: Can't install Ruby under Lion with RVM – GCC issues
Upvotes: 1
Reputation: 1217
You need a C compiler and it seems you have none installed or it's not on your path. XCode provides one, have you installed it?
Check this similar question Xcode - configure: error: no acceptable C compiler found in $PATH
Upvotes: 4
Reputation: 2387
Looks like you need to install Xcode Command Line tools, so you can compile RVM on installation. I believe just installing Xcode will do it.
Upvotes: 1