Ruby is installed on all DreamHost servers. The default versions on different server types are listed below.
All Shared servers run version 2.5.1.
New VPS machines purchased after March 2021 running Debian Buster run 2.5.5.
All Dedicated servers purchased after March 2020 run 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.