Moved ruby related code out of cache.sh.
Moved ruby related code out of cache.sh.

ngpestelos/ruby-install,postmodern/ruby-install,FreedomBen/ruby-install,FreedomBen/ruby-install,ngpestelos/ruby-install,postmodern/ruby-install