首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >用rvm安装ruby

用rvm安装ruby
EN

Stack Overflow用户
提问于 2014-09-25 07:39:38
回答 1查看 750关注 0票数 0
代码语言:javascript
复制
➜  TestApps git:(master) ✗ rvm install 2.1.3
Warning, new version of rvm available '1.25.31', you are using older version '1.25.28'.
You can disable this warning with:    echo rvm_autoupdate_flag=0 >> ~/.rvmrc
You can enable  auto-update  with:    echo rvm_autoupdate_flag=2 >> ~/.rvmrc
Unknown ruby string (do not know how to handle): ruby-2.1.3.
Unknown ruby string (do not know how to handle): ruby-2.1.3.
Searching for binary rubies, this might take some time.
No binary rubies available for: ubuntu/12.04/i386/ruby-2.1.3.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for ubuntu.
Requirements installation successful.
Unknown ruby string (do not know how to handle): ruby-2.1.3.
Installing Ruby from source to: /home/test-user/.rvm/rubies/ruby-2.1.3, this may take a while depending on your cpu(s)...
Unknown ruby string (do not know how to handle): ruby-2.1.3.
ruby-2.1.3 - #downloading ruby-2.1.3, this may take a while depending on your connection...
  % Total     % Received %   Xferd  Average Speed   Time    Time      Time  Current
                                                         Dload    Upload     Total   Spent    Left  Speed
100   11.4M    100 11.4M      0      0    63269       0  0:03:09  0:03:09 --:--:-- 43967
No checksum for downloaded archive, recording checksum in user configuration.
ruby-2.1.3 - #extracting ruby-2.1.3 to /home/test-user/.rvm/src/ruby-2.1.3 - please wait
ruby-2.1.3 - #configuring - please wait
ruby-2.1.3 - #post-configuration - please wait
ruby-2.1.3 - #compiling - please wait

为什么rvm 安装显示了以下几行:

代码语言:javascript
复制
 Warning, new version of rvm available '1.25.31', you are using older version '1.25.28'.
代码语言:javascript
复制
 You can disable this warning with:    echo rvm\_autoupdate\_flag=0 >> ~/.rvmrc
代码语言:javascript
复制
 You can enable  auto-update  with:    echo rvm\_autoupdate\_flag=2 >> ~/.rvmrc
代码语言:javascript
复制
 Unknown ruby string (do not know how to handle): ruby-2.1.3.
代码语言:javascript
复制
 Unknown ruby string (do not know how to handle): ruby-2.1.3.

我有遗漏什么吗?

EN

回答 1

Stack Overflow用户

发布于 2014-09-25 09:06:35

这是一个建议,有一个较新的版本的RVM可用。您可以用

代码语言:javascript
复制
$ rvm get latest
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/26033150

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档