Update RVM list known
是否可以在不升级整个 rvm 的情况下更新已知ruby列表(使用
不,不是,某些版本更改需要更改代码,
你应该善于坚持稳定以保持更高的稳定性(如果你担心的话):
1 | rvm get stable |
你应该善于坚持掌握(因为它是稳定的)以获得最新版本:
1 | rvm get master |
mpapis 的答案和意见是 100% 正确的。我在笔记本电脑中的设置如下。
将行
那样做,它就会一直自动更新 Rvm
示例:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 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). #.................... #..................... |