PATH中的其他脚本 [英] Additional scripts in PATH

查看:126
本文介绍了PATH中的其他脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Homebrew在OS X 10.7.5上安装Rails,并继续收到以下警告.我已经尝试过很多次以更改PATH来排除Python目录(修改.bash_profile,但是甚至不能确定这是引起警告的原因.如果这是严重的菜鸟领域,我深表歉意,但是经过数小时后,我找不到任何有用的信息)搜索.自制警告:

I am trying to install Rails on OS X 10.7.5, using Homebrew and continue to receive the below Warning. I have tried many times to change the PATH to exclude the Python Directories (modifying .bash_profile, but am not even sure this is what is causing the Warning. Apologies if this is serious noob territory, but I could not find anything helpful after hours of searching. Homebrew warning:

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

./configure脚本经常寻找* -config脚本来确定是否 已安装软件包,以及何时使用哪些其他标志 编译和链接.

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

您的路径中包含其他脚本会混淆通过以下方式安装的软件 如果配置脚本覆盖提供的系统或Homebrew,则为Homebrew 相同名称的脚本.我们找到了以下配置"脚本:

Having additional scripts in your path can confuse software installed via Homebrew if the config script overrides a system or Homebrew provided script of 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

推荐答案

我认为您应该使用gem工具进行Rails的安装. Rails只是一个宝石,不应由自制软件安装.首先安装最新版本的Ruby,然后在Google上了解有关gem管理系统的知识,然后尝试一下.这是关于此主题的不错的铁路广播.

I think you should make installation of Rails using gem tool . Rails is just a gem and in should not be installed by homebrew . First install the newest version of Ruby , then google a little about gem management system and give it a go . Here is a nice Railscast on the subject.

这篇关于PATH中的其他脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆