Skip to content

Instantly share code, notes, and snippets.

Created June 4, 2012 16:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/2869235 to your computer and use it in GitHub Desktop.
Save anonymous/2869235 to your computer and use it in GitHub Desktop.
root@wheezybuild64:~# update-alternatives --set ruby /usr/bin/ruby1.9.1
update-alternatives: using /usr/bin/ruby1.9.1 to provide /usr/bin/ruby (ruby) in manual mode.
root@wheezybuild64:~# PATH="/usr/local/bin/gem1.9.1:$PATH" fpm --gem-gem /usr/bin/gem1.9.1 -s gem -t deb --verbose treetop
Trying to download {"level":"info","gem":"treetop","version":null}
Fetching: treetop-1.4.10.gem (100%)
Using gem file {"level":"info","path":"/var/lib/gems/1.8/cache/treetop-1.4.10.gem"}
Successfully installed treetop-1.4.10
1 gem installed
Setting from flags: epoch= {"level":"info"}
Setting from flags: iteration= {"level":"info"}
Converting gem to deb {"level":"info"}
No deb_installed_size set, calculating now. {"level":"info"}
Reading template {"level":"info","path":"/var/lib/gems/1.8/gems/fpm-0.4.10/lib/fpm/../../templates/deb.erb"}
Creating {"level":"info","from":"/tmp/package-deb-build20120604-14068-1le9jhu/control","path":"/tmp/package-deb-build20120604-14068-1le9jhu/control.tar.gz"}
Created deb package {"path":"/root/rubygem-treetop_1.4.10_all.deb"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment