I wrote a simple ruby code:
puts gets puts STDIN.gets
It runs ok in the console, but when I run it with Command B in Sub