LoginSignup
12

More than 5 years have passed since last update.

XCodeを4.5にバージョンアップした後に、gem(native extensions)のインストールで「You have to install development tools first.」と言われてしまった時の対処法

Posted at

参考:http://stackoverflow.com/questions/10344821/gem-install-pg-doesnt-work-on-osx-lion

以下を実行して下さい。

sudo ln -s /usr/bin/llvm-gcc-4.2 /usr/bin/gcc-4.2

もしくは、

sudo ln -s /usr/bin/gcc /usr/bin/gcc-4.2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
12