I doubt it takes seconds to test a hello world program in Ruby.  However, to test a hello world Rails application is a different story, as you have to start up the web server, which takes seconds (even though it eventually just serves a simple page).