Hi there, while working on ruby-byebug I came across a question I cannot answer myself. So in case of this package there is a script with a shebang line like #!/usr/bin/env ruby This line at the moment will lead to the script being executed with Ruby 2.7. Now this script is also put into usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0/gems/byebug-11.1.3/exe/byebug usr/lib/x86_64-linux-gnu/rubygems-integration/3.0.0/gems/byebug-11.1.3/exe/byebug Now in the latter we would need to fix the shebang line to actually run it with Ruby 3. I do wonder: a) Should gem2deb handle and fix shebang lines in those directories (and or in /usr/bin)? b) Should those directories be removed by gem2deb? c) How to handle such scripts using ruby version specific extensions? Should they point to Ruby 2.7 until we finally switch over? Can they even work within a ruby 3 project at the moment? Regards, Daniel -- Regards, Daniel Leidert <dleidert@debian.org> | https://www.wgdd.de/ GPG-Key RSA4096 / BEED4DED5544A4C03E283DC74BCD0567C296D05D GPG-Key ED25519 / BD3C132D8B3805D1808123AB7ACE00941E338C78 https://www.fiverr.com/dleidert https://www.patreon.com/join/dleidert
Attachment:
signature.asc
Description: This is a digitally signed message part