rvm list known
是否可以在不升级整个 rvm 的情况下更新已知红宝石的列表(你得到什么)?
问问题
10284 次
2 回答
64
不,不是,某些版本更改需要更改代码,
您应该坚持使用稳定以保持更高的稳定性(如果您担心的话):
rvm get stable
您应该善于坚持掌握(因为它很稳定)以获取最新版本:
rvm get master
于 2012-09-29T07:52:58.113 回答
3
mpapis 的答案和意见是 100% 正确的。我在笔记本电脑中的设置如下。
将该行添加rvm_autoupdate_flag=2
到~/.rvmrc
. 只要您愿意,它就会一直自动更新 Rvm rvm list known
。
例子:
arup@linux-wzza:~> rvm list known
Warning, new version of rvm available '1.26.0', you are using older version '1.25.33'.
You can disable this warning with: echo rvm_autoupdate_flag=0 >> ~/.rvmrc
You can enable auto-update with: echo rvm_autoupdate_flag=2 >> ~/.rvmrc
arup@linux-wzza:~> echo rvm_autoupdate_flag=2 >> ~/.rvmrc
arup@linux-wzza:~> rvm list known
Found old RVM 1.25.33 - updating.
Downloading https://get.rvm.io
Downloading https://github.com/wayneeseguin/rvm/archive/1.26.0.tar.gz
Downloading https://github.com/wayneeseguin/rvm/releases/download/1.26.0/1.26.0.tar.gz.asc
gpg: Signature made Wed 29 Oct 2014 06:22:06 PM IST using RSA key ID BF04FF17
gpg: Can't check signature: No public key
Warning, RVM 1.26.0 introduces signed releases and automated check of signatures when GPG software found.
Assuming you trust Michal Papis import the mpapis public key (downloading the signatures).
#....................
#.....................
于 2014-11-03T03:40:18.377 回答