Ruby on Rails can be used on a VPS/VDS service. Ruby can be used on regular shared hosting.