To mark the file as executable run the command chmod x test rb.
Run ruby program online.
In this case it s a ruby file to be executed with the ruby interpreter.
Login logout setting.
This will set a file permission bit indicating that the file is a program and that it can be run.
Now to run the program simply enter the command test rb.
Jdoodle is a free online compiler editor ide for java c c php perl python ruby and many more.
Repl it is the world leading online coding platform where you can collaborate compile run share and deploy ruby online.
Online ruby compiler online ruby editor online ruby ide ruby coding online practice ruby online execute ruby online compile ruby online run ruby online online ruby interpreter execute ruby online ruby v2 4 1 desktop preview.
Use run rb runner bee to experiment with quickly prototype or just explore the ruby programming language.
Quick and easy way to compile and run programs online.