I have Ruby 1.9.3 installed on windows. When I try to require the gem the console outputs that the gem was not found:
require \'pty\'
Which
Currently seems ruby is supporting 'pty' module out of the box so you don't have to install any gem: https://ruby-doc.org/stdlib-2.5.3/libdoc/pty/rdoc/PTY.html