Additional scripts in PATH

I am trying to install Rails on OS X 10.7.5 using Homebrew and continue to receive below Warning. I tried many times to change PATH to exclude Python directories (modification of .bash_profile, but I'm not even sure if this raises a warning. Sorry if this is a serious noob territory, but I could not find anything useful after hours of searching. Homebrew warning:

Warning: "config" scripts exist outside your system or Homebrew directories.

./configure scripts often look for * -config scripts to determine if software packages are installed and what additional flags are used when compiling and linking.

Having additional scripts in your path can confuse software installed through Homebrew if the config script overrides the system or a Homebrew script with the same name. We found the following "config" scripts:

/Library/Frameworks/Python.framework/Versions/Current/bin/python-config
/Library/Frameworks/Python.framework/Versions/Current/bin/python2.5-config
/opt/sm/pkg/active/bin/curl-config
/opt/sm/pkg/active/bin/ncurses5-config
/opt/sm/pkg/active/bin/ncursesw5-config
/opt/sm/pkg/active/bin/pkg-config
/opt/sm/pkg/active/bin/xml2-config
/opt/sm/pkg/active/bin/xslt-config
+2
source share
1 answer

I think you should install Rails with the gem tool. Rails is just a gem, and it should not be homegrown. Install the latest version of Ruby first, and then share some information about the gem management system and let it go. Here is a good Railscast on this.

+1
source

All Articles