Ruby on rails Brew警告/pkg配置$PATH
我正试图按照以下指南()安装Ruby 但当我这么做的时候Ruby on rails Brew警告/pkg配置$PATH,ruby-on-rails,ruby,macos,homebrew,pkg-config,Ruby On Rails,Ruby,Macos,Homebrew,Pkg Config,我正试图按照以下指南()安装Ruby 但当我这么做的时候 brew doctor 我明白了 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. 我以前通过RailsInst
brew doctor
我明白了
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.
我以前通过RailsInstaller安装过Rails(因为我在RVM方面遇到了问题),但后来我将我的OSx从雪豹升级到了山狮,所以我遵循这个指南。无论
/opt/sm/…
是什么,请从您的路径中删除它。最后,我以另一种方式安装了它。谢谢