Ruby is installed on all DreamHost servers. As of Oct 201, all servers are running version 2.5.1.
Ruby on Shared hosting
Due to the amount of memory Ruby on Rails may use, it's not recommended to run an app on Shared hosting. You will most likely be hit the Shared server's memory limits.