The Ruby branch under Configuration - Integrated Applications includes the following option:
Full path to the RUBY executable
By default this field is populated with the path to the ruby.exe. Pressing the Browse button will open a dialog that may be used to browse to the location of the ruby.exe.