跑步时bundle exec jekyll serve我得到bundler: failed to load command: jekyll
苹果系统 12.0.1
宝石文件:
gem "jekyll", "~> 4.2"
# Plugins
group :jekyll_plugins do
gem "jekyll-admin" # https://github.com/jekyll/jekyll-admin
gem "jekyll-feed" # https://github.com/jekyll/jekyll-feed
gem "jekyll-seo-tag", github: "jekyll/jekyll-seo-tag" # https://github.com/jekyll/jekyll-seo-tag
gem "jekyll-archives" # https://github.com/jekyll/jekyll-archives
gem "jekyll-typogrify" # https://github.com/myles/jekyll-typogrify
gem "jekyll-autoprefixer" # https://github.com/vwochnik/jekyll-autoprefixer
gem "jekyll-sitemap" # https://github.com/jekyll/jekyll-sitemap
end
gem "webrick", "~> 1.7"
gem "json", "~> 2.6"
Run Code Online (Sandbox Code Playgroud)
bundle exec jekyll serve --trace给我:
/Users/jrdnbwmn/.rbenv/versions/3.0.2/lib/ruby/3.0.0/pathname.rb:20: warning: already initialized constant Pathname::TO_PATH
/Users/jrdnbwmn/.rbenv/versions/3.0.2/lib/ruby/gems/3.0.0/gems/pathname-0.2.0/lib/pathname.rb:20: warning: previous definition of …Run Code Online (Sandbox Code Playgroud)