Dear list, I was trying to update the yard package to add support for ruby2.7, but I ran into some issues. The most important one is that the "yard" library is not found when I run the autopkgtests. Here is a piece of the log below: ---8<------------ ┌──────────────────────────────────────────────────────────────────────────────┐ │ Run tests for ruby2.5 from debian/ruby-tests.rake │ └──────────────────────────────────────────────────────────────────────────────┘ mv lib .gem2deb.lib RUBYLIB=. GEM_PATH= ruby2.5 -S rake -f debian/ruby-tests.rake /usr/bin/ruby2.5 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.2/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.9.1/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation An error occurred while loading spec_helper. - Did you mean? rspec ./spec/spec_helper.rb Failure/Error: require 'yard' LoadError: cannot load such file -- yard # ./spec/spec_helper.rb:17:in `require' # ./spec/spec_helper.rb:17:in `<top (required)>' An error occurred while loading spec_helper. - Did you mean? rspec ./spec/spec_helper.rb Failure/Error: require 'yard' LoadError: cannot load such file -- yard # ./spec/spec_helper.rb:17:in `require' # ./spec/spec_helper.rb:17:in `<top (required)>' No examples found. No examples found. ------->8----------------- yard (and rspec) are installed using the gem layout. Running the command "/usr/bin/ruby2.5 -I/usr/share/rubygems-integration [...] --format documentation" from my system with the new package install works. I have no clue. Does any one have an idea? I pushed my changes in the `yard` repo on salsa. Thanks in advance. Cédric
Attachment:
signature.asc
Description: PGP signature