I\'m installing ruby in windows 8.1 pro
ruby 2.1.3p242 (2014-09-19 revision 47630) [x64-mingw32]
and gem version
2.2.2
This command will fix it -- you need to change the code page of the current terminal.
chcp 1252