Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
247 views
in Technique[技术] by (71.8m points)

rbenv not showing the available ruby versions

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?

question from:https://stackoverflow.com/questions/16324239/rbenv-not-showing-the-available-ruby-versions

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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!


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...