Tag Archives: Computer

Pacgem – Rubygems installer for Arch Linux

I created a pacman wrapper program which allows direct installation of rubygems. It is called pacgem and available in AUR.

The program does the following steps:

  1. Resolve gem dependencies
  2. Create PKGBUILD
  3. Generate package using makepkg
  4. Check package with namcap
  5. Optionally install package with sudo pacman -U

The generates package tries to do the best in fixing bad rubygem practices. It has a automatic detection for dynamic linking dependencies using `readelf`. Man pages are installed to /usr/share/man and the license file to /usr/share/licenses if the gem provides a custom license.

I would be interested in some feedback and testing. I tested it with ruby 1.9.2 and 1.8.7 and some ruby packages (haml, rack, unicorn). The goal is to get the package quality to an acceptable level (comparable to hand written PKGBUILD). There are nearly no complaints of namcap for the packages I tested.

Download-Links: