Last active
August 29, 2015 14:08
-
-
Save marc-hanheide/4ebea62ada0883ed84eb to your computer and use it in GitHub Desktop.
Build jekyll debian packages from ruby gem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# taken from https://github.com/jordansissel/fpm/wiki/ConvertingGems#convert-a-gem-and-all-of-its-dependencies | |
sudo apt-get install ruby1.9.3 rubygems | |
mkdir /tmp/gems | |
gem1.9.3 install --no-ri --no-rdoc --install-dir /tmp/gems jekyll | |
find /tmp/gems/cache -name '*.gem' | xargs -rn1 fpm -d ruby1.9.3 -d rubygems --gem-gem /usr/bin/gem1.9.3 -s gem -t deb | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment