gpt4 book ai didi

jekyll - can't findexecutable jekyll for gem jekyll --- Jekyll 无法执行

转载 作者:行者123 更新时间:2023-12-02 08:54:31 31 4
gpt4 key购买 nike

bundle exec jekyll serve
Traceback (most recent call last):
4: from /Users/Suwan_Long/.rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:24:in `<main>'
3: from /Users/Suwan_Long/.rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:24:in `eval'
2: from /Users/Suwan_Long/.rvm/rubies/ruby-2.6.3/bin/jekyll:23:in `<main>'
1: from /Users/Suwan_Long/.rvm/gems/ruby-2.6.3/gems/bundler-2.0.2/lib/bundler/rubygems_integration.rb:480:in `block in replace_bin_path'
/Users/Suwan_Long/.rvm/gems/ruby-2.6.3/gems/bundler-2.0.2/lib/bundler/rubygems_integration.rb:460:in `block in replace_bin_path': can't find executable jekyll for gem jekyll. jekyll is not currently included in the bundle, perhaps you meant to add it to your Gemfile? (Gem::Exception)

我已经安装了 Jekyll 和 ruby​​,但仍然显示没有可执行的 jekyll。任何人都可以帮我解决这个问题吗!预先感谢:)

最佳答案

错误消息中的以下行说明了一切。

jekyll is not currently included in the bundle, perhaps you meant to add it to your Gemfile?

编辑Gemfile以包含jekyll gem:

gem "jekyll", "~> 4.0"

关于jekyll - can't findexecutable jekyll for gem jekyll --- Jekyll 无法执行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59460915/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com