Online Ruby Compiler

Run your Ruby code using myCompiler's online IDE.

Fiddle with your code snippets easily and run them.

Start writing code instantly without having to download or install anything.

Run your Ruby code
def fib(x)
  return x <= 2 ? 1 : fib(x - 1) + fib(x - 2)
end

puts fib(10)

Run your Ruby code without installing anything

Using myCompiler, you can run your code instantly from any device. Just visit our website, select a language, type in your code and hit "Run!" Write your code without having to spend hours figuring out how to set up a programming environment.

Feature-rich code editor

myCompiler's editor supports autocomplete and syntax highlighting out of the box, which makes writing code a breeze.

Multi-language support

Write programs in your favourite language, or start learning a new language. myCompiler supports 20 languages with more to come.