Jekyll安装失败

 三毛 发布于 2023-02-10 21:56

我正在尝试在我的Mac上安装Jekyll,它根本没有发生,所以我试图重新安装我的rvm 1.9.3.但我现在正在跟踪错误.如果有人可以帮我解决这个问题,那就太好了.

...
e.rb, skipping
Installing ri documentation for parslet-1.5.0
unable to convert U+00E5 from UTF-8 to US-ASCII for test/test_child.rb, skipping
Installing ri documentation for posix-spawn-0.3.8
unable to convert U+2014 from UTF-8 to US-ASCII for lib/pygments/popen.rb, skipping
unable to convert U+00F8 from UTF-8 to US-ASCII for test/test_pygments.rb, skipping
unable to convert "\xC5" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for         vendor/pygments-main/AUTHORS, skipping
unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for     vendor/pygments-main/CHANGES, skipping
unable to convert U+2219 from UTF-8 to US-ASCII for vendor/pygments-    main/tests/examplefiles/coq_RelationClasses, skipping
unable to convert "\xE9" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for     vendor/pygments-main/tests/examplefiles/example.cpp, skipping
unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for         vendor/pygments-main/tests/examplefiles/fucked_up.rb, skipping
unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for     vendor/pygments-main/tests/examplefiles/py3_test.txt, skipping

RDoc::Parser::Ruby failure around line 1 of
vendor/pygments-main/tests/examplefiles/ruby_func_def.rb

Before reporting this, could you check that the file you're documenting
has proper syntax:

/Users/mauliks/.rvm/rubies/ruby-1.9.3-p484/bin/ruby -c vendor/pygments-        main/tests/examplefiles/ruby_func_def.rb

RDoc is not a full Ruby parser and will fail when fed invalid ruby programs.

The internal error was:

(NoMethodError) undefined method `name' for #    

ERROR:  While executing gem ... (NoMethodError)
undefined method `name' for #

提前致谢.

1 个回答
  • 最后我修好了,

    gem install rdoc --pre
    

    2023-02-10 22:12 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有