[aur-general] Packaging a Ruby application (veewee) with embedded gems (no dependency on Arch ruby-* packages)

Bertrand Bonnefoy-Claudet bertrandbc at gmail.com
Thu Apr 10 14:42:12 EDT 2014


veewee [1] is a great tool for building vagrant boxes. Unfortunately, it
depends on many other gems. I've already built a package ruby-veewee [2]
using Arch packages as dependencies and there is a git version,
veewee-git [3], but I find them unsatisfactory because of how difficult
they are to package with the right version for each gem.

vagrant has recently been accepted in community and has a PKGBUILD that
I find peculiar. It seems like it uses some embedded directory to store
gems it depends on. Sorry, I'm not very familiar with Ruby and gems.

What I would like to achieve is similar. How can I package veewee-git so
that required gems are built to and loaded from /opt/veewee/gems ? I
have tried several combinations with "gem install" and bundler but
without success.


[1] https://github.com/jedi4ever/veewee
[2] https://aur.archlinux.org/packages/ruby-veewee/
[3] https://aur.archlinux.org/packages/veewee-git/


More information about the aur-general mailing list