Compiling latest Ruby from scratch with chruby

Since chruby officially does not support compiling latest Ruby (HEAD), here are the steps necessary to do it.Current HEAD version of Ruby is 2.8.0dev, so that's the version being compiled in this example. The only thing necessary for your custom compiled Ruby to play nicely with chruby is passing the --with-dest-dir option to configure. This allows chruby to find this newly compiled version, so you can switch to it and use it.
Compiling latest Ruby from scratch with chruby #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/compiling-latest-ruby-from-scratch-with-chruby

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles