Skip to content

Submit/ruby installer script

clayton craft requested to merge dcbaker:submit/ruby-installer-script into master

Created by: dcbaker

This provides some advantages to the bash based install script, first it provides better error handling, since we have exceptions. It also provides better code clarity and cleanliness.

Why choose Ruby over Python or another language? Primarily because Ruby is very nice for working with shell commands natively, where the Python interfaces are much higher and more verbose to work with, as well as requiring handling exceptions, even when there isn't a need to.

This does introduce a dependency on ruby, and on the ruby gem trollop, which is a command line parser. This is a very small, simple file, and could be included in the project if necessary.

Merge request reports