我刚刚使用 cargo
安装了 racer
。安装后这样说:
Installing /home/karthik/.cargo/bin/racer
warning: be sure to add `/home/karthik/.cargo/bin` to your PATH to be able to run the installed binaries
我该怎么做?谷歌搜索没有帮助。另外,我是否也应该为货箱设置一个 PATH
变量?
编辑:操作系统是 Ubuntu 14.04,我有 super 用户访问权限
最佳答案
您必须将货箱路径添加到您的 PATH
变量,并在 .profile
或 .bash_profile< 中设置
.RUST_SRC_PATH
/
关于rust - rust-racer 的 cargo 路径设置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37966696/