跑步时
rvmsudo gem install capistrano
我收到这个警告:
Warning: can not check `/etc/sudoers` for `secure_path`, falling back to call via `/usr/bin/env`, this breaks rules from `/etc/sudoers`. Run:
export rvmsudo_secure_path=1
to avoid the warning, put it in shell initialization file to make it persistent.
In case there is no `secure_path` in `/etc/sudoers`. Run:
export rvmsudo_secure_path=0
to avoid the warning, put it in shell initialization file to make it persistent.
我在 Mac OS X 上,但我没有secure_path
,/etc/sudoers
所以我认为我需要输入:
export rvmsudo_secure_path=0
在我的.bash_profile
,对吧?