What wasn't mentioned was the server that runs PHP, which is typically apache. Ruby also manages the HTTP server as well, correct? I.e. no need for apache.
No. Rails ships with a built in web server called WebBrick. Ruby does not. PHP 5.3 ships with a built in web server too. Neither of the servers included with PHP or Rails are intended for production usage. To serve up a rails app you typically use either apache (with passenger aka mod_ruby similar to mod_php for apache), or a dedicated server for ruby rack apps (unicorn, thin, rainbows, mongrel, etc etc).
11
u/[deleted] Feb 24 '13
Ruby would replace PHP out of that list, not any of the others. For information on why what is different with Ruby over PHP then check out this page.