diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-10-17 18:46:58 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-10-17 18:46:58 -0300 |
commit | dedf705e16954887f62e511a47f622df3e6a1add (patch) | |
tree | 0680ade1000c13c225457409abab683c07aea715 | |
parent | ac5e31e4a3bee6d503f9ab5f9470228a7c0c61a2 (diff) | |
download | debian-dedf705e16954887f62e511a47f622df3e6a1add.tar.gz debian-dedf705e16954887f62e511a47f622df3e6a1add.tar.bz2 |
More on ruby packaging
-rw-r--r-- | ruby.md | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -8,11 +8,20 @@ Example: packaging leap_cli and dependencies First, in a *fresh* vagrant box: + sudo apt-get install rubygems gem2deb 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 + dependencies="`gem list | cut -d '(' -f 1`" + + for gem in $dependencies; do + gem2deb $gem + done + +Cleanup: + + sudo gem uninstall $dependencies Additional steps: |