0
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和我有在/etc/sudoers
沒有secure_path
所以我想我需要放:
export rvmsudo_secure_path=0
在我.bash_profile
,對不對?
如果您進行系統範圍的安裝,這是phusion乘客似乎推薦用於生產環境的,它們並未安裝在主目錄中。 – JohnMerlino
那麼你在生產中使用Mac OS X嗎? – lmars