2013-10-13 5 views
0

Я пытаюсь обновить с ruby ​​1.9.3 до 2.0.0.Обновление до Ruby 2.0.0 - Libtool

Я побежал

rvm upgrade 1.9.3-p448 2.0.0-p247 

Ошибки я получаю:

Error running 'requirements_smf_lib_install libtool', 
please read /Users/melanie/.rvm/log/1381637445_ruby-2.0.0-p247/package_install_libtool.log 
Failed installation package: libtool of: libtool, gdbm. 
Requirements installation failed with status: 1. 
Unable to install ruby ruby-2.0.0-p247. Please install it manually to continue. 

Мой журнал говорит:

[2013-10-13 15:11:58] requirements_smf_lib_install 
requirements_smf_lib_install() 
{ 
    typeset -a __smf_install_command; 
    requirements_smf_lib_install_command "[email protected]"; 
    rvm_debug "__smf_install_command: ${__smf_install_command[*]};"; 
    "${__smf_install_command[@]}" || { 
     typeset ret=$?; 
     rvm_warn "There were package installation errors with SM Framework, make sure to read the log. 
If you see this on OSX, then you might want to try macports (http://www.macports.org/) or homebrew (http://mxcl.github.io/homebrew/) and tell RVM to use them by running: 

    rvm autolibs macports #OR 
    rvm autolibs homebrew 

You can get help using IRC: http://webchat.freenode.net/?channels=rvm"; 
     return $ret 
    }; 
    shift 
} 
current path: /Users/melanie 
command(2): requirements_smf_lib_install libtool 
    [ ] libtool 2.4.2 ~ dependencies... 

    [[32m✔[0m] libtool 2.4.2 ~ dependencies 
    [ ] libtool 2.4.2 ~ fetch... curl: (9) Server denied you to change to the given directory 


    [[32m✔[0m] libtool 2.4.2 ~ fetch 

FAIL(paths): Path '/opt/sm/src/libtool-2.4.2' does not exist. 

    +# source file             # function()           
================================================================================ 
vi +330 /opt/sm/core/sm/shell/log/functions       # __sm.log.fail           
vi +32 /opt/sm/core/internal/shell/paths/functions     # __sm.paths.enter           
vi +144 /opt/sm/core/api/shell/paths/functions       # paths           
vi +54 /opt/sm/core/internal/shell/package/strategies/gnu/functions # __sm.package.gnu.install           
vi +15 /opt/sm/core/internal/shell/package/functions     # __sm.package.install           
vi +143 /opt/sm/core/api/shell/package/functions      # package           
vi +403 /opt/sm/core/sm/shell/log/functions       # __sm.actions.call           
vi +178 /opt/sm/core/internal/shell/extensions/execution/functions  # __sm.extension.run           
vi +151 /opt/sm/core/sm/shell/core/initialize       # /opt/sm/core/sm/shell/core/initialize           
vi +41 /opt/sm/bin/sm             # /opt/sm/bin/sm           
================================================================================ 
There were package installation errors with SM Framework, make sure to read the log. 
If you see this on OSX, then you might want to try macports (http://www.macports.org/) or homebrew (http://mxcl.github.io/homebrew/) and tell RVM to use them by running: 

    rvm autolibs macports #OR 
    rvm autolibs homebrew 

You can get help using IRC: http://webchat.freenode.net/?channels=rvm 

Как решить проблемы, так что я могу обновить с помощью RVM , В качестве альтернативы, как мне установить вручную?

Большое спасибо заранее.

+0

ли вы Homebrew установленный по умолчанию? – depa

+0

Нет, у меня нет Homebrew. – Mel

+0

Вам не хватает Ruby-зависимости, которая лучше устанавливается с помощью Homebrew. После того, как у вас есть Homebrew, RVM сможет автоматически устанавливать все ваши зависимости. http://brew.sh/ – depa

ответ

0

rvm позволяет вам иметь все версии, а затем вы переключаетесь между ними для любого интерпретатора, с которого вы хотите запустить свой код.

Использовать rvm install 2.0 для установки Ruby 2.0.

Использование rvm use 2.0 использовать его

Используйте rvm use 2.0 --default, чтобы установить его в качестве

+0

Спасибо, но я получаю ту же ошибку при запуске rvm install 2.0.0, являюсь: Ошибка при запуске 'requirements_smf_lib_install libtool', , пожалуйста, прочитайте/Пользователи/melanie /. rvm/log/1381640713_ruby-2.0.0-p247/package_install_libtool.log Не удалось установить пакет: libtool of: libtool, gdbm. Ошибка установки требований со статусом: 1. – Mel

Смежные вопросы