Install ruby-shellany by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-shellany
Description:
MRI+JRuby compatible command output capturing
Shellany captures command output with several features: * portability (should work on recent JRuby versions) * capturing stdout, stderr in a convenient way * returning the result in a convenient way * detecting if a shell is needed (though incomplete/primitive implementation) * prevents running the same command multiple times
Homepage: https://github.com/guard/shellany
Version: 0.0.1-1
Section: universe/ruby