这是说: 运行'__smf_try_sudo sm get head'时出错
我需要做什么?
整个事情是:
[2013-10-02 14:11:27] requirements_smf_update_system
requirements_smf_update_system ()
{
__rvm_log_command sm_get_head "Updating SMF" __smf_try_sudo sm get head || return $?;
if [[ "${#required_extension_sets[@]}" -gt 0 ]]; then
__rvm_log_command sm_install_extension_sets "Installing/updating extension sets: ${required_extension_sets[*]}" requirements_smf_install_extension_sets "${required_extension_sets[@]}" || return $?;
fi
}
current path: /
command(2): requirements_smf_update_system ruby-2.0.0-p247
Updating SMF.
Error running '__smf_try_sudo sm get head',
please read /usr/local/rvm/log/1380715887_ruby-2.0.0-p247/sm_get_head.log
答案 0 :(得分:1)
从评论中复制答案,以便从“未答复”过滤器中删除此问题:
回答最后我在控制台中用rvm本身尝试了......那告诉我 运行:
警告:/ etc / rvmrc中有'rvm_configure_env',运行 以下修复:sudo sed -i'' - e“/ rvm_configure_env =。* / opt / sm / d”/ etc / rvmrc rvm autolibs smf
修好了!!!