Using ruby on visual studio code

Hi there, I have been using VS code for a while to learn to programme, I tried running some method but I can’t generate output on it. I tried downloading the ruby extensions also and it’s the same