Xcode 4.1 プレビュー 5 は正常に動作していましたが、App Store を通じて最終的な xcode 4.1 にアップグレードすることにしました。最初にXcodeをアンインストールしました...
sudo /Developer/Library/uninstall-devtools –mode=all
次に、App Store から Xcode をインストールし、再起動しました。
RVM も完全に削除しましたが、Ruby のバージョンをインストールしようとすると失敗します。エラーファイルで私はこれを取得します:
[2011-07-27 18:29:25] ./configure --prefix="/Users/holden/.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/holden/.rvm/src/yaml-0.1.4':
configure: error: C compiler cannot create executables
See `config.log' for more details
/usr/bin ディレクトリには gcc-4.2 やその他の gcc はありません。
Xcode の調子はどうですか?