mac上安装ruby出现问题

Failed executing: ./configure --disable-debug --prefix=/usr/local/Cellar/pkg-config/0.25 --with-pc-path=/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig:/usr/lib/pkgconfig:/usr/X11/lib/pkgconfig (pkg-config.rb:23)

configure.log

2 个回答

用homebrew 安装 ruby, 方便又快捷: http://mxcl.github.com/homebrew/

brew install ruby # brewhome 会告诉你怎么做.