升级Jekyll至4.3.3版本后执行命令异常求助
升级Jekyll至v4.3.3后启动失败问题
更新rubygems前我的Jekyll运行正常,但更新Jekyll至v4.3.3版本及部分rubygems后,执行jekyll -v、bundle exec jekyll s等简单命令时均出现相同异常。
报错信息如下:
C:\Users\frankdexdevs\Documents\kails>bundle exec jekyll s C:/Users/frankdexdevs/.local/share/gem/ruby/3.2.0/gems/addressable-2.8.6/lib/addressable/idna/pure.rb:163:in `initialize': No such file or directory @ rb_sysopen - C:/Users/frankdexdevs/.local/share/gem/ruby/3.2.0/gems/addressable-2.8.6/data/unicode.data (Errno::ENOENT) from C:/Users/frankdexdevs/.local/share/gem/ruby/3.2.0/gems/addressable-2.8.6/lib/addressable/idna/pure.rb:163:in `open' from C:/Users/frankdexdevs/.local/share/gem/ruby/3.2.0/gems/addressable-2.8.6/lib/addressable/idna/pure.rb:163:in `<module:IDNA>' from C:/Users/frankdexdevs/.local/share/gem/ruby/3.2.0/gems/addressable-2.8.6/lib/addressable/idna/pure.rb:21:in `<module:Addressable>' from C:/Users/frankdexdevs/.local/share/gem/ruby/3.2.0/gems/addressable-2.8.6/lib/addressable/idna/pure.rb:20:in `<top (required)>' from <internal:C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require' from <internal:C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require' from C:/Users/frankdexdevs/.local/share/gem/ruby/3.2.0/gems/addressable-2.8.6/lib/addressable/idna.rb:25:in `rescue in <top (required)>' from C:/Users/frankdexdevs/.local/share/gem/ruby/3.2.0/gems/addressable-2.8.6/lib/addressable/idna.rb:20:in `<top (required)>' from <internal:C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require' from <internal:C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require' from C:/Users/frankdexdevs/.local/share/gem/ruby/3.2.0/gems/addressable-2.8.6/lib/addressable/uri.rb:21:in `<top (required)>' from <internal:C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require' from <internal:C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require' from C:/Users/frankdexdevs/.local/share/gem/ruby/3.2.0/gems/jekyll-4.3.3/lib/jekyll.rb:33:in `<top (required)>' from <internal:C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require' from <internal:C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require' from C:/Users/frankdexdevs/.local/share/gem/ruby/3.2.0/gems/jekyll-4.3.3/exe/jekyll:8:in `<top (required)>' from C:/Ruby32-x64/bin/jekyll:32:in `load' from C:/Ruby32-x64/bin/jekyll:32:in `<main>' <internal:C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require': cannot load such file -- idn (LoadError) from <internal:C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require' from C:/Users/frankdexdevs/.local/share/gem/ruby/3.2.0/gems/addressable-2.8.6/lib/addressable/idna/native.rb:20:in `<top (required)>' from <internal:C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require' from <internal:C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require' from C:/Users/frankdexdevs/.local/share/gem/ruby/3.2.0/gems/addressable-2.8.6/lib/addressable/idna.rb:21:in `<top (required)>' from <internal:C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require' from <internal:C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require' from C:/Users/frankdexdevs/.local/share/gem/ruby/3.2.0/gems/addressable-2.8.6/lib/addressable/uri.rb:21:in `<top (required)>' from <internal:C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require' from <internal:C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require' from C:/Users/frankdexdevs/.local/share/gem/ruby/3.2.0/gems/jekyll-4.3.3/lib/jekyll.rb:33:in `<top (required)>' from <internal:C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require' from <internal:C:/Ruby32-x64/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require' from C:/Users/frankdexdevs/.local/share/gem/ruby/3.2.0/gems/jekyll-4.3.3/exe/jekyll:8:in `<top (required)>' from C:/Ruby32-x64/bin/jekyll:32:in `load' from C:/Ruby32-x64/bin/jekyll:32:in `<main>'
原本期望Jekyll能像升级前一样正常运行,尝试卸载重装Jekyll但无效,想了解该问题的原因。
内容的提问来源于stack exchange,提问作者FrankDexDevs
相关产品推荐
相关产品推荐

