ruby-build is a tool that downloads and compiles various versions of Ruby. It is exposed as rbenv install through rbenv or simply as ruby-build when used standalone. Updating ruby-build Troubleshooting Writing custom build definitions Suggested build environment ruby-build will try its best to download and compile the wanted Ruby version, but sometimes compilation fails because of unmet system dep