2

它是说:错误运行'__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
4

1 回答 1

1

复制评论中的答案,以便从“未回答”过滤器中删除此问题:

最后,我在控制台中使用 rvm 本身进行了尝试......这告诉我运行:

警告:您在 /etc/rvmrc 中有 'rvm_configure_env',运行以下命令进行修复: sudo sed -i'' -e "/rvm_configure_env=.*/opt/sm/d" /etc/rvmrc rvm autolibs smf

那解决了它!

~ 每个Jahn Schlosser的回答

于 2013-10-08T03:55:27.447 回答