This page is about the Ruby interpreter environment inside the Riza Code Interpreter API. We have not yet published an API client library for Ruby.


Riza runs Ruby 3.3.0 compiled to WASM. The entire standard library is included.


There are no limitations beyond the general sandbox limitations that apply to all Riza interpreter runtime environments.

See our roadmap for planned future improvements.


You can write to stdout and stderr as you typically would.

puts "Hello, World!"
STDERR.puts "Something bad happened"


You can read from stdin and access command line arguments and environment variables, all as you typically would.

puts ARGV.to_a
puts ENV.to_h