How to install ruby-build for rbenv on Ubuntu?

292 Views Asked by At

I installed rbenv. What is the easiest way to install ruby-build?

I've tried brew, but it displayed few errors.

1

There are 1 best solutions below

0
On BEST ANSWER

Clone as rbenv plugin using git

git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build

Upgrade with:

git -C "$(rbenv root)"/plugins/ruby-build pull