postmodern / ruby-install

Installs Ruby, JRuby, TruffleRuby, or mruby
MIT License
1.92k stars 256 forks source link

Prebuilt binary for Debian/Ubuntu #357

Open FranklinYu opened 5 years ago

FranklinYu commented 5 years ago

This is a feature request. It would be good if we also provide binary deb files for Debian and Ubuntu. I guess we can host a PPA on https://launchpad.net/.

I may be able to work on this next year (my employer uses Debian) but in the same time anyone can pick it up.

havenwood commented 2 years ago

I took a stab at code adding prebuilt binary support a while back but it's dated and should also support TruffleRuby and JRuby binaries as mentioned in #403.

postmodern commented 2 years ago

We could start adding support for installing binaries for jruby and truffleruby. This would entail having a separate URL for binary packages, matching the current arch/OS to the supported binary packages (and printing an error if no match could be found), and bypass the configure/compile/install functions that assume a source install.

However, for CRuby someone would need to setup a secure compile farm that would compile each release for each OS/distro, (maintained) OS/distro version, and architecture. Ideally, ruby-core should handle this, as setting up and maintaining such a compile farm would take a lot of work. Using https://rvm.io/binaries/ isn't a viable option as it has stop being updated for newer Linux distro versions.