Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error to installing sass with gem in windows 8.1

Tags:

windows

sass

ruby

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

when in execute the gem installation throw this error :

ERROR:  Loading command: install (ArgumentError)
        unknown encoding name - CP720
ERROR:  While executing gem ... (NoMethodError)
    undefined method `invoke_with_build_args' for nil:NilClass
like image 283
Syd Amir Avatar asked Nov 06 '14 14:11

Syd Amir


Video Answer


1 Answers

This command will fix it -- you need to change the code page of the current terminal.

chcp 1252
like image 153
Saad Shahd Avatar answered Sep 18 '22 06:09

Saad Shahd