Reputation: 83680
I want to build rpm with my Ruby app and its gems. As far as some gems depends on binaries I want to find out them automatically. For example nokogiri
gem depends on libxml
. Can I fetch all this dependencies for all gems in Gemfile automatically to pack them into rpm?
Now I do it mannualy and this is boring!
Upvotes: 1
Views: 228
Reputation: 369584
No, unfortunately, this is not possible. RubyGems only records Gem dependencies. It obviously cannot record any dependencies it doesn't know about, how would that even work?
There is a requirements
attribute in the gemspec, but that is only intended to be human-readable, not machine-readable.
Upvotes: 3