ERROR: While executing gem ... (Encoding::UndefinedConversionError) U+7CFB to IBM437 in conversion from UTF-16LE to UTF-8 to IBM437,当你执行gem 命令时,提示如上信息解决方案如下。

when you  use  gem install package ,the result:ERROR: While executing gem ... (Encoding::UndefinedConversionError)
U+7CFB to IBM437 in conversion from UTF-16LE to UTF-8 to IBM437

解决方法:

去本地路径下修改编码,这么提示是因为编码不一致导致的。

修改registry 文件中的编码:

修改后就没有问题了。

时间: 2024-10-02 21:53:49

ERROR: While executing gem ... (Encoding::UndefinedConversionError) U+7CFB to IBM437 in conversion from UTF-16LE to UTF-8 to IBM437,当你执行gem 命令时,提示如上信息解决方案如下。的相关文章

修复运行 tasklist 命令时提示 ERROR: Not found

最近碰到了一个脚本运行 tasklist 总是提示 ERROR: Not found,在这里找到了修复的方法 https://superuser.com/questions/1282867/windows-8-1-tasklist-error-not-found 方法是在命令行运行以下命令 cd \windows\system32\wbem net stop winmgmt rename Repository Repository.old net start winmgmt tasklist #

cocoapods 安装报错 ERROR: While executing gem ... (Errno::EPERM) Operation not permitted - /usr/bin/xcodeproj

cocoapods 安装报错 ERROR:  While executing gem ... (Errno::EPERM)     Operation not permitted - /usr/bin/xcodeproj 执行下面语句安装即可: sudo gem install -n /usr/local/bin cocoapods

ERROR: While executing gem ... (Gem::Exception) Unable to require openssl...............................

今天在centOS7上安装ruby3.2.0时,gem install redis 出现ERROR: While executing gem ... (Gem::Exception) Unable to require openssl.................... 试了网上很多的方法还是出现了这个问题. 最后索性删除了本来的ruby,重新安装后就可以了. 正确的安装步骤是先安装开发工具和依赖包 先安装开发工具 1.命令:yum groupinstall "Development too

安装Pod时提示ERROR: While executing gem ... (Errno::EPERM) Operation not permitted - /usr/bin/pod

环境:OSX EI 10.11.1 昨天切换gem源后,招待pod安装没有任何问题,也可以正常用$ gem sources --add https://ruby.taobao.org/ --remove https://rubygems.org/$ sudo gem install cocoapods 今天再使用的时候,在一个项目下执行pod install时半天死活没反应,无奈就ctrl+c了强制退出了.然后再执行的时候就出现错误: Library/Ruby/Site/2.0.0/rubyge

SAP R3 安装出错 FJS-00012 Error when executing script.

安装环境:Windows server 2003 中文企业版32位. 数据库:Oracle 9i. Running the command "C:\oracle\ora92/bin/lsnrctl 'start' 'LISTENER'" finished with returncode 3. Output: ERROR 2030-01-16 19:06:56 CJS-00095  Return code 3 of executable C:\oracle\ora92/bin/lsnrc

oracle ORA-20011: Approximate NDV failed: ORA-29913: error in executing ODCIEXTTABLEOPEN callout

Mon Jun 11 21:59:52 2018LNS: Standby redo logfile selected for thread 2 sequence 132997 for destination LOG_ARCHIVE_DEST_10Mon Jun 11 21:59:55 2018Archived Log entry 465126 added for thread 2 sequence 132996 ID 0x92570693 dest 1:Mon Jun 11 22:00:00 2

Error while executing topic command : Replication factor: 2 larger than available brokers: 0.

[[email protected] /mnt/software/maxwell-1.19.4]#kafka-topics.sh --zookeeper hdp1,hdp2,hdp3:2181 --create --topic maxwell --partitions 6 --replication-factor 2Error while executing topic command : Replication factor: 2 larger than available brokers:

Error while executing: am start -n "com.loyal888.blog/com.loyal888.blog.activity.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER Starting

在华为手机上手动卸载debug版本的app后再次通过adb安装会报如下错误: Error while executing: am start -n "com.loyal888.blog/com.loyal888.blog.activity.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHERStarting: Intent { act=android.intent.action.M

安装SQL Servre2000时提示“command line option syntax error! type command /? for help”

问题: 当程序正在安装ms数据访问组件时,弹出错误提示框:command line option syntax error,type command/? for help,点击确定继续:到了程序正在安装HTML帮助时,弹出标题为html help 1.32 update错误提示框:command line option syntax error,type command/? for help,点击确定继续:程序开始复制文件,复制完后弹出错误提示框:无法找到动态连接库sqlunirl.dll(sq