4
讓我先說這個問題,這是發生在zsh中。更新rvm毀了我的整個環境,因爲我跑了「get head」而不是「get stable」
我將rvm更新到版本1.15.8。我做了所有我的紅寶石的力量重新安裝。同時將寶石設置回原始狀態。這裏是我遇到的問題列表:
# 1.8.7 no longer compiles because it
# Going to a project directory that contains a .rvmrc file now causes this:
__rvm_remove_from_path:11: failed to compile regex: invalid character range
__rvm_remove_from_path:11: failed to compile regex: invalid character range
__rvm_remove_from_path:11: failed to compile regex: invalid character range
__rvm_remove_from_path:11: failed to compile regex: invalid character range
__rvm_remove_from_path:11: failed to compile regex: invalid character range
__rvm_remove_from_path:11: failed to compile regex: invalid character range
... for thousands of lines with no end.
# Typing "rvm use [email protected]" yields the same result as above.
# And my favorite:
bundle install
Tells me I need to install gem bundler'
I do it.
bundle install
Still tells me I need to install gem bundler!
我希望我知道如何回到以前版本的rvm。這是一個真正的問題,因爲我有一個截止日期。通常我甚至不升級rvm來避免這些環境問題,但我一直在按照指示嘗試使其與Textmate合作。
有人請幫忙。
更新後的答案:
2件事。
1)我運行「rvm get head」而不是「rvm get stable」。剪切並粘貼失敗。
2)我想出了1.8.7的問題。我跑:
brew install tcl
和:
brew install tk
我也改變了所有的東西在$ HOME/.rvm所有權被我所擁有。確保安裝了X11。然後跑:
rvm remove 1.8.7-p352
和:
rvm install 1.8.7-p352
工作就像一個魅力!
這是另外一個問題 - 但你是正確的 - 用穩定的版本解決它,1.15.8也可作爲穩定的,你可以通過使用'RVM GET檢查stable'。 – mpapis