rbenv & ruby-build not showing the same list of version

Diego d'Ursel

I'm trying to install the latest ruby version (ie. 2.1.1) with rbenv.

After upgrading brew, ruby-build and rbenv the available ruby versions differs.

Executing:

ruby-build --definitions

gives me (only versions above 2.0):

2.0.0-dev
2.0.0-p0
2.0.0-p195
2.0.0-p247
2.0.0-p353
2.0.0-p451
2.0.0-preview1
2.0.0-preview2
2.0.0-rc1
2.0.0-rc2
2.1.0
2.1.0-dev
2.1.0-preview1
2.1.0-preview2
2.1.0-rc1
2.1.1
2.2.0-dev

With RBenv:

rbenv install -l 

gives me (only versions above 2.0):

2.0.0-dev
2.0.0-p0
2.0.0-p195
2.0.0-p247
2.0.0-p353
2.0.0-preview1
2.0.0-preview2
2.0.0-rc1
2.0.0-rc2
2.1.0-dev
2.1.0-preview1
2.1.0-preview2

What is happening here ?

Kostas Rousis

Have you updated rbenv and the rbenv-build plugin to the latest versions?

I personally prefer doing that by browsing to their installation folders (~/.rbenv and ~/.rbenv/plugins/ruby-build) and pulling the latest changes, as in:

git pull origin master

I personally see all rubies when asking for a list (including 2.1.1).

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

rbenv not changing ruby version

rbenv install not downloading ruby version

rbenv working but ruby version not changing

rbenv Ruby version 2.7.6 got ruby-build error and won't install

rbenv install --list not showing all versions on ubuntu 18.04 LTS (ruby 2.7.1)

rbenv doesn't work on ubuntu with rbenv and ruby-build?

rbenv ruby 2.7.2 installation fails: "BUILD FAILED"

How to install ruby-build for rbenv on Ubuntu?

Rbenv vagrant global ruby version unchanged

Install Latest Stable Version of Ruby Using rbenv

rbenv can't change global ruby version

Vagrant provisioning - installing ruby version on rbenv fails

rbenv install --list does not list version 2.1.2

bash script unable to automate installing ruby with rbenv and ruby build

How to build JRuby 1.7.13 on Raspberry Pi with rbenv/ruby-build?

Rbenv Version 2.1.1, but Error Says Ruby Version is 2.0.0

Unable to build Ruby 2.1.3 on OSX 10.10 GM 3.0 with rbenv

How to use specify version of ruby for shell script with rbenv?

Git post-receive hook not using ruby version specified by rbenv

Why can't rbenv install the latest Ruby version on Ubuntu?

Mavericks, RBENV, Your Ruby version is 2.0.0, but your Gemfile specified 2.1.1

rbenv Your Ruby version is 2.0.0, but your Gemfile specified 2.1.2

Capistrano rbenv - Ruby version not installed witn dry run

After installing ruby 2.2.3 with rbenv it has a different version

Why cant I change my ruby version with rbenv?

Chef + rbenv: "rbenv: no such command 'install'" despite ruby-build being installed

Ruby version not same as installed version

RVM showing Ruby version in ZSH

Showing list on the same line