[DRE-maint] Bug#1121922: ruby-scientist: autopkgtests can't find executable rake for gem rake

Max Gilmour max.gilmour at canonical.com
Thu Dec 4 19:24:25 GMT 2025


Source: ruby-scientist
Version: 1.6.5-1
Severity: normal
Tags: patch

Dear Maintainer,

ruby-scientist 1.6.5-1 can't migrate because the tests aren't able to find
the
rake executable:

 26s RUBYLIB=. GEM_PATH= ruby3.3 debian/ruby-tests.rb
 26s mv lib ./.gem2deb.lib
 27s
/usr/share/rubygems-integration/all/gems/bundler-2.6.7/lib/bundler/rubygems_integration.rb:241:in
`block in replace_bin_path': can't find executable rake for gem rake. rake
is not currently included in the bundle, perhaps you meant to add it to
your Gemfile? (Gem::Exception)
 27s from /usr/lib/ruby/vendor_ruby/rubygems.rb:288:in `activate_bin_path'
 27s from /usr/bin/rake:25:in `<main>'
 27s debian/ruby-tests.rb:3:in `<main>': Could not run tests (RuntimeError)

This bug is tracked as LP: #2133826 in Ubuntu.

I have included a patch that fixes the issue; it simply makes the
package tests use the system rake instead of attempting to use the
bundled rake.

Best wishes,

Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20251204/4d1cbd89/attachment.htm>


More information about the Pkg-ruby-extras-maintainers mailing list