0

我在 ubuntu 11.0 上安装了以下版本的 rvm。

$ rvm -v
rvm 1.0.1 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]

但是,在运行 rvm get head 时,我遇到了以下错误。

$ rvm get head && rvm reload
fail: Unrecognized command line argument: 'get' ( see: 'rvm usage' )

$ rvm update --head
rvm 1.0.1 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]
fatal: destination path 'rvm' already exists and is not an empty directory.
fatal: destination path 'rvm' already exists and is not an empty directory.

你能帮我找出问题所在吗?以及如何解决它?

4

1 回答 1

0

You have very old RVM installation, probably from Ubuntu, use this answer:

Installed Ruby 1.9.3 with RVM but command line doesn't show ruby -v

It will help you clean your system and install stable version of RVM.

As a hint, you could use following command to install RVM, Ruby and Rails in one hit:

curl -L get.rvm.io | bash -i stable --rails --auto
于 2012-05-19T15:20:33.857 回答