CentOS rbenv update

1 minute read

Intro

Rbenv of CentOS seemed to be old, so update

First of all

Just

rbenv update

Even if

> rbenv update
Updating rbenv
 |  fatal: unable to access 'https://github.com/sstephenson/rbenv.git/': SSL connect error
Updating rbenv-update

Get angry.

solution

Therefore,

> cd ${rbenv root) #=> /usr/local/rbenv
> git remote add origin [email protected]:sstephenson/rbenv.git
> git pull origin master

will do. What, how to use git normally. Then, the commands required for plugins will be installed. Then

> rbenv update
Updating rbenv
 |  From github.com:sstephenson/rbenv
 |  * [new branch]      gh-pages   -> origin/gh-pages
 |  * [new branch]      user-gems  -> origin/user-gems
 |  * [new branch]      version-aliases -> origin/version-aliases
 |  * [new tag]         v1.1.0     -> v1.1.0
 |  * [new tag]         v1.1.1     -> v1.1.1
 |  * [new tag]         v1.1.2     -> v1.1.2
 |  There is no tracking information for the current branch.
 |  Please specify which branch you want to merge with.
 |  See git-pull(1) for details.
 |  
 |  git pull <remote> <branch>
 |  
 |  If you wish to set tracking information for this branch you can do so with:
 |  
 |  git branch --set-upstream-to=origin/<branch> master
 |  
Updating rbenv-update

It seems that the update was successful.

However, the latest version of ruby was 2.7.0-preview2, which was the same.

Good grief.


  • source ~/Desktop/lecture_20f/semi_lattice/docs/rbenv_update_centos.org