aboutsummaryrefslogtreecommitdiff
path: root/ruby.md
blob: 3ad574d7699bef05e4f7be28bad80705685b0a61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Ruby packaging
==============

See [this](https://wiki.debian.org/Teams/Ruby/Packaging).

Example: packaging leap_cli and dependencies
--------------------------------------------

First, in a *fresh* vagrant box:

    sudo gem install leap_cli

Then we get the dependencies and build all packages:

    gem list | cut -d '(' -f 1 | while read gem; do gem2deb $gem; done

Additional steps:

* Fix `debian/control` and other FIXME's on each package.
* Put `debian/` folder in a `debian` branch on each source.
* [Review the code](https://manual.sarava.org/specs/code/).
* Upstream pull requests.