更新rvm破坏了我的整个环境,因为我运行“get head”而不是“get stable”

时间:2012-09-10 04:07:45

标签: rvm rvmrc

让我先说一下这个问题,这是在zsh中发生的。

我将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 1.9.4-p194@mygemset" 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

像魅力一样工作!

0 个答案:

没有答案