Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

rbenv not showing the available ruby versions

Tags:

ruby

rbenv

I have installed rbenv in my vagrant machine but when I try to list all the available ruby versions rbenv versions then it gives me this output:

system (set by /home/vagrant/.rbenv/version)

Does anyone know what is this?

like image 861
vivek Avatar asked May 01 '13 18:05

vivek


1 Answers

Are you asking what the output of that command means? I'm looking at the rbenv documentation, and I think it indicates that rbenv only knows of one version of ruby - the version that came installed with your system.

Edit: If that's not the answer you were looking for, can you tell us what you expected to see? Did you have other versions installed on that machine?

Edit 2: If you want to see a list of versions you can install onto your machine, but aren't installed yet, run:

rbenv install --list 

Here is more documentation for this command. This will help!

like image 104
hlh Avatar answered Oct 07 '22 00:10

hlh