Do you have tips for driving IRB as a background process through STDIN and writing outputs to a file?
I basically want to automate some tutorials that include showing how things should look in the irb REPL including the prompts and interface. But as soon as I run it without a TTY the styles all change and I’m not sure if there’s a combination of flags/settings to get them looking the same again.
Basically trying to get these outputs to match closer: https://gist.github.com/schneems/88223a7df82795922fdc1e8e1b47bfc0