Revert previous revert of ruby

This reverts commit dc91d9a924e86339b2c10908504fc9da89b8c2a2.