A point of correction, Ruby on Rails was not created by Yukihiro Matsumoto (Matz) but by David Heinemeier Hansson, assisted by other open-source developers. However, Ruby Language was created by Matsumoto and it is both a Programming language and a Scripting language. It is the scripting feature of it that was implemented to create Ruby on Rails to act as a fast CGI - remember the days of CGI programming for web, before scripting languages like Perl and PHP became popular.
Because it is implemented as a CGI and not a module that means you would have it installed in your root folder and have it generate your dynamic pages on the fly, when requested from the client's browser. You could actually use Ruby on Rails on many databases, MySQL, PostGreSQL, Oracle, SQL Server etc., but you know Oracle is trying to win the hearts of the open source community, so it is has bundled the application with its Oracle database, and has rigourously tested it, so you might subjectively want to say that is the most reliable bundle of Ruby on Rails. You know Oracle also bundle Linux with the Oracle database which they tagged "Oracle Unbreakable Linux", I see all these as marketing gimmicks, to ensure that Oracle remains the best database.
You can get more information on Ruby by downloading and installing the language from
http://www.ruby-lang.org. It bundles an extensive documentation that you could read to get more details on its workings.
You can also download the Ruby on Rails Web Development Framework from
http://www.rubyonrails.org and Oracle's implementation of it at
http://www.oracle.comI'm sure you'll have fun working with Ruby.