These kind of files should never be shipped since they are only meant for development.

The information about the executable files that should be shipped with a gem can be found in the gemspec. In this case, https://github.com/deivid-rodriguez/pry-byebug/blob/6021d2c01b2d9d00bbf7caace7beab9bf312d988/pry-byebug.gemspec#L19 specifies that the gem should not be shipped with any executables.

Hope this is helpful!

El 25/2/20 a las 9:10, Pirate Praveen escribió:
On Wed, 27 Nov 2019 15:57:30 +0100 Andreas Beckmann <a...@debian.org> wrote: > during a test with piupart../ruby-shoulda-matchers_4.3.0.orig.tar.xz,s I noticed your package failed to install
> because it tries to overwrite other packages files.
>
> From the attached log (scroll to the bottom...):
>
> Preparing to unpack .../ruby-pry-byebug_3.7.0-1_all.deb ...
> Unpacking ruby-pry-byebug (3.7.0-1) ...
> dpkg: error processing archive /var/cache/apt/archives/ruby-pry-byebug_3.7.0-1_all.deb (--unpack): > trying to overwrite '/usr/bin/rubocop', which is also in package rubocop 0.52.1+dfsg-1
> Errors were encountered while processing:
> /var/cache/apt/archives/ruby-pry-byebug_3.7.0-1_all.deb
>
> Preparing to unpack .../ruby-pry-byebug_3.7.0-1_all.deb ...
> Unpacking ruby-pry-byebug (3.7.0-1) ...
> dpkg: error processing archive /var/cache/apt/archives/ruby-pry-byebug_3.7.0-1_all.deb (--unpack): > trying to overwrite '/usr/bin/bundle', which is also in package ruby-bundler 1.17.3-3
> Errors were encountered while processing:
> /var/cache/apt/archives/ruby-pry-byebug_3.7.0-1_all.deb

Can we just remove the bin directory from .deb? Or should we switch to gem-install layout and keep the bin part of the .deb file?


Reply via email to