Install ruby-session by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-session
Description:
persistent connections with external programs like bash (via pipes)
Session::* offers a set of classes built upon Open3::popen3 for driving persistent connections with external programs (such as bash) via pipes. It offers a significant abstraction over Open3::popen in that the stdout/stderr of each command sent can be delineated.
Homepage: http://github.com/ahoward/session/
Version: 3.2.0-2
Section: universe/ruby