postmodern / ruby-install

Installs Ruby, JRuby, TruffleRuby, or mruby
MIT License
1.9k stars 252 forks source link

Add a log_command() function that respects --debug #415

Closed postmodern closed 1 year ago

postmodern commented 2 years ago

Add a log_ommand function that will print the command being ran if --debug is enabled and then run said command. Then prefix all ruby compiling/installing commands with this log_command function.

postmodern commented 1 year ago

This will satisfy #294, #374, and #415.

postmodern commented 1 year ago

Implemented in 7aa0c0d.