I recently upgraded to Lion and everything was fine. Even rebooted the machine a few time. Then over the weekend, Rails
was gone! All of my gemsets were gone. I swear I don't know what happened. It WAS working just fine.
After looking closer, RVM itself was gone.
So, I reinstall RVM and try to install Ruby 1.9.2 and I get this error log:
[2011-08-08 14:30:41] ./configure --prefix="/Users/cbmeeks/.rvm/usr"
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... no
checking for gcc... /usr/bin/gcc-4.2
checking whether the C compiler works... no
configure: error: in `/Users/cbmeeks/.rvm/src/yaml-0.1.4':
configure: error: C compiler cannot create executables
See `config.log' for more details
It appears that gcc is gone? I'd prefer not to just start randomly reinstalling everything since all was working before.
Any ideas?
Thanks.
After you install Lion, you have to re-install Xcode/Developer tools. It is available from the app store.
http://itunes.apple.com/us/app/id448457090?mt=12
If you don't want to do a full XCode install, you might want to check out this project: https://github.com/kennethreitz/osx-gcc-installer
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With