rvm升级错误用'命令gem pristine --extensions debugger --version 1.6.0失败'

时间:2014-12-23 16:23:34

标签: ruby rvm

使用rvm升级ruby时出现此错误:

Error running '__rvm_with ruby-2.1.5 gemset_pristine',
showing last 15 lines of /Users/snowcrash/.rvm/log/1419348453/gemset.pristine-ruby-2.1.5.log
+ gem pristine --extensions yard --version 0.8.6.2
+ read _gem _version _platforms
+ ((  1 > 0  ))
+ rvm_error '\n'\''command gem pristine --extensions debugger --version 1.6.0'\'' failed, you need to fix this gems manually.'
+ rvm_pretty_print stderr
+ case "${rvm_pretty_print_flag:=auto}" in
+ case "${TERM:-dumb}" in
+ case "$1" in
+ [[ -t 2 ]]
+ return 1
+ printf %b '\n'\''command gem pristine --extensions debugger --version 1.6.0'\'' failed, you need to fix this gems manually.\n'

'command gem pristine --extensions debugger --version 1.6.0' failed, you need to fix this gems manually.
+ return 1

有关如何修复的任何建议吗?

1 个答案:

答案 0 :(得分:-1)

调试器gem与ruby 2.1.5不兼容。也许你已将它列为默认宝石之一,为每个ruby安装。如果你删除那一点配置,你应该好好去。

看看你〜/ .rvm / gemsets / global.gems