加载 RubyGems 插件“.../plugins/yard_plugin.rb”时出错:无法加载此类文件 -- .../lib/rubygems_plugin.rb (LoadError)

问题描述 投票:0回答:1

我得到了:

Error loading RubyGems plugin "/Users/dorianmariefr/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/plugins/yard_plugin.rb": cannot load such file -- /Users/dorianmariefr/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/yard-0.9.34/lib/rubygems_plugin.rb (LoadError)

bundle
存储库上运行
rails/rails
时。

ruby-on-rails ruby bundler yard
1个回答
0
投票

解决方案是

gem install yard
或将
gem "yard"
添加到 Gemfile 并运行
bundle

所以安装庭院就是解决方案

© www.soinside.com 2019 - 2024. All rights reserved.