How to get a Ruby script running?

For the life of me, I cannot figure out how to get this simple Ruby script up and running:

print “ruby”

No matter what I try, it’s being sent as plaintext and not being sent to the Ruby interpreter. The Wiki article is useless, all it tells me how to do is how to install another version of Ruby.