$ rvm ruby-2.6.5 do ruby -e 'loop {gets; print if 2..3}' 1 2 2