Is it possible to update the list of known rubies (what you get with rvm list known
) without upgrading the entirety of rvm?
Asked
Active
Viewed 1.1k times
33

Andrew Grimm
- 78,473
- 57
- 200
- 338
-
@sawa reply posted at http://chat.stackexchange.com/transcript/message/6319864#6319864 – Andrew Grimm Sep 29 '12 at 13:54
-
I see. Good that you could convince him. Looks like youve been to many places. – sawa Sep 29 '12 at 14:12
3 Answers
67
No it is not, some of the version changes require changes in code,
you should be good with sticking to stable to keep more stability (if that is your concern):
rvm get stable
you should be good with sticking to master (as it's stable) to get latest versions:
rvm get master

mpapis
- 52,729
- 14
- 121
- 158
-
I don't get it: I ran `rvm get stable`, but `ruby-2.2.3` is showing up at the latest, and as of now, `2.3.0` is available. – nipponese Jan 15 '16 at 04:31
3
mpapis answer and opinion is 100% correct. The settings I had in my laptop is below.
Add the the line rvm_autoupdate_flag=2
to ~/.rvmrc
. It will auto update Rvm, all the time, whenever you will do like rvm list known
.
Example:
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).
#....................
#.....................

Community
- 1
- 1

Arup Rakshit
- 116,827
- 30
- 260
- 317
0
That's what I needed for RVM v1.29 installed for multi users on Pop!_OS:
rvmsudo rvm get stable

Szymon Rut
- 835
- 1
- 9
- 13