[英]error to installing sass with gem in windows 8.1
I'm installing ruby in windows 8.1 pro 我在windows 8.1 pro中安装ruby
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 : 在执行gem安装时抛出此错误:
ERROR: Loading command: install (ArgumentError)
unknown encoding name - CP720
ERROR: While executing gem ... (NoMethodError)
undefined method `invoke_with_build_args' for nil:NilClass
此命令将修复它 - 您需要更改当前终端的代码页。
chcp 1252
Try to uninstall ruby and re-install a previous version. 尝试卸载ruby并重新安装以前的版本。 that worked for me once. 这对我有用。
another solution is to type this in cmd: set = HTTP_proxy http://10.1.143.126:3128
and try again 另一种解决方案是在cmd中输入: set = HTTP_proxy http://10.1.143.126:3128
然后再试一次
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.