when run:shell
$ rvm install ruby-*.*.*-p*
Error running 'env GEM_PATH=/Users/***/.rvm/gems/ruby-*.*.*-p*:*********, please read /Users/***/.rvm/log/ruby-*.*.*-p*/rubygems.install.log Installation of rubygems did not complete successfully.
solve:ruby
$ rvm remove ruby-*.*.*-p* # get rid of unsuccessful installation $ rvm get head --autolibs=3 # get the latest RVM and build required libs $ rvm requirements # just in case, install all other required stuff $ rvm install ruby-*.*.*-p* # reinstall this ruby $ rvm --default use ruby-*.*.*-p* # use this ruby by default
analysis:
ui
出現這種問題的緣由是this
你在安裝進程未完成前 就由於某些緣由打斷了安裝的進行 致使安裝過程產生不可修復的功能缺失 且很難修復
code
解決辦法就是 將未完成的安裝結果(實際看起來已經安裝好 其實沒有)清除 從新安裝
進程