0
我剛剛升級了我的Mac並使用Time Machine備份進行了更新,該備份具有Rails,Pow和iMagick的全功能Ruby包。出於某種原因,一切似乎都被打破了。rbenv在OS X上安裝錯誤?
我試圖用rbenv install 2.1.2
時重新安裝使用紅寶石和rbenv收到以下消息:
/usr/local/Cellar/rbenv/0.4.0/libexec/rbenv-hooks: line 32: cd: ../../../Cellar/rbenv-default-gems/1.0.0/etc/rbenv.d/install: No such file or directory
/usr/local/Cellar/rbenv/0.4.0/libexec/rbenv-hooks: line 32: cd: ../../../Cellar/rbenv-default-gems/1.0.0/etc/rbenv.d/install: No such file or directory
/usr/local/Cellar/rbenv/0.4.0/libexec/rbenv-hooks: line 32: cd: ../../../Cellar/rbenv-default-gems/1.0.0/etc/rbenv.d/install: No such file or directory
/usr/local/Cellar/rbenv/0.4.0/libexec/rbenv-hooks: line 32: cd: ../../../Cellar/rbenv-default-gems/1.0.0/etc/rbenv.d/install: No such file or directory
上我能做些什麼來解決這個問題的任何意見將非常感謝。
文件是否真的存在。在不同情況下我有這樣的事情,結果證明文件有「錯誤」的所有者。 –
不允許該目錄不存在。我在安裝命令 –
之前運行'brew install rbenv ruby-build rbenv-gem-rehash'運行'brew doctor'時會發生什麼情況? – Anthony