I have a Maid command-line utility that I am distributing as RubyGem now . I would also like to distribute it as a .deb package to make installation easier for Ubuntu users .
Ubuntu users currently have to do very little by hand, especially for someone new to Ruby:
sudo apt-get install ruby sudo apt-get install rubygems
Ideally, I want one separate command to be installed on a new Ubuntu installation:
sudo apt-get install maid maid version
The gem2deb ( gem2tgz , dh-make-ruby , etc.) is almost what I'm looking for. But by default, gem2deb does not pack any of the required gem dependencies. Virgo is really simple and depends only on thor at runtime. ( Edit: because the maiden has changed and now has more dependencies.) But without this dependency, nothing works.
So, how do I package this Ruby app for Ubuntu, and also include its gem dependencies? Are there any other tools that I could use, or tutorials / examples that I could follow?
source share