【问题标题】:'rvm get head' unrecognized command line argument: 'get' (see: 'rvm usage') on Ubuntu 11.10 oneric'rvm get head' 无法识别的命令行参数:Ubuntu 11.10 oneric 上的'get'(参见:'rvm usage')
【发布时间】:2012-05-18 18:40:06
【问题描述】:

我在 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.

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

【问题讨论】:

    标签: rvm


    【解决方案1】:

    您的 RVM 安装非常旧,可能来自 Ubuntu,请使用以下答案:

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

    它将帮助您清理系统并安装 RVM 的稳定版本。

    作为提示,您可以使用以下命令一次性安装 RVM、Ruby 和 Rails:

    curl -L get.rvm.io | bash -i stable --rails --auto
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-11-08
      • 2011-12-19
      • 2012-01-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-07-15
      • 1970-01-01
      相关资源
      最近更新 更多