I've just installed Homebrew onto my machine, after which I ran brew doctor which threw up two warnings.
I didn't appear to have the command line tools for Xcode installed, which I have now. The second warning is:
Warning: You have a non-Homebrew 'pkg-config' in your PATH:
/opt/sm/pkg/active/bin/pkg-config
`./configure` may have problems finding brew-installed packages using
this other pkg-config.
What can I do to remedy this?
/opt/sm, or thepkg-configcome from? Do you have any other package manager installed perhaps (I'm not familiar with those, just Homebrew)? Do you remember installing it there? – slhck♦ Nov 28 '12 at 21:04/opt/sm/, including thepkg-configinstallation, which now takes precendence over the defaultpkg-configfrom Homebrew in/usr/local/bin. Do you see any modifications the Rails installer might have made to~/.bash_profile,~/.profile,/etc/paths.d/, etc. to modify the path? – slhck♦ Nov 28 '12 at 21:25