[DRE-maint] Bug#867599: gem2deb fails to install pure ruby part when a gem has both pure ruby and native libs
Pirate Praveen
praveen at onenetbeyond.org
Sat Jul 8 08:18:19 UTC 2017
On 07/08/2017 11:53 AM, Pirate Praveen wrote:
> On 07/08/2017 07:44 AM, Antonio Terceiro wrote:
>> if the pure ruby libraries were not being installed, you would get a
>> LoadError (i.e. a `require` statement failed), but that's not what is
>> happening here.
> For tests, the pure ruby libs are available in the source tree.
>
> If I move the src/ruby/lib folder (I have locally installed ruby-grpc
> deb), then it fails with `require': cannot load such file -- grpc
> (LoadError)
I think gem2deb expects libraries only in lib.
s.require_paths = %w( src/ruby/lib src/ruby/bin src/ruby/pb ) mentions
it in grpc.gemspec but I don't know if gem2deb can reply on that.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20170708/c20af278/attachment-0001.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list