You could always write CGI scripts in Ruby and Python, but other than catering to the PHP-infected, why would you want to?
Now that people are back to writing their applications in languages that aren't as slow as Ruby they've, in many cases, taken the server back out of their application and have returned to the CGI model again; what is often marketed as "serverless".