LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 02-22-2011, 09:36 PM   #1
Registered: Dec 2005
Location: Lyon, France
Distribution: Slackware-current
Posts: 32

Rep: Reputation: 2
Lightbulb [ANN] gem2tgz 1.0

Slackers worldwide, I give you gem2tgz.

<Here I'd bury debian under a smelly pile of trolls' feces but let's not for now, however tempting it is...>

in 176 lines of shell gem2tgz makes Slackware and Ruby's gems become BFF by making packages out of gems so that Slackware know about them and can manage them like any other packages.

Usage: /usr/bin/gem2tgz <options>
	-a | --backup | --all-locals
		Generate packages for ALL gems installed locally

	-g | --gem <name>
		gem to package [no default]
	-v | --version <x.x.x>
		Package a specific version [default: latest]
	-t | --tag <tag>
		Set a specific tag for the package's name [default: gem2txz]
	-n | --nodeps
		Do not build packages of dependencies [default: package all dependencies]
	-i | --install
		Install the package [default: no]
	-o | --output <dir>
		Directory where the resulting package will be [default: /tmp]

	-h | --help
		What you're reading at this very moment
After semi-extensive testing here it looks pretty solid to me and time has come to release it into the wild, so:
- here's the github repository:
- here's a ready-made package:

Please enjoy and any/all feedback is welcome

Last edited by cycojesus; 02-23-2011 at 07:24 AM. Reason: renamed to gem2tgz
Old 02-22-2011, 11:22 PM   #2
Slackware Contributor
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,036

Rep: Reputation: 424Reputation: 424Reputation: 424Reputation: 424Reputation: 424
If it's not too much trouble, how about doing up everything necessary for a submission similar to cpan2tgz?

On that note, probably it would be better to call this "gem2tgz" and implement the ability to compress using xz and perhaps others instead. That's (obviously) your call though.

Last edited by rworkman; 02-22-2011 at 11:23 PM.
Old 02-23-2011, 07:15 AM   #3
Registered: Dec 2005
Location: Lyon, France
Distribution: Slackware-current
Posts: 32

Original Poster
Rep: Reputation: 2
Thanks. The first version was made around the same time Slackware moved to the .txz format so the name meant to reflect this change. Nevertheless I agree that Slackware still has a strong association with "tgz" and for consistency I'll rename (and edit the links here).

As for SBo, I'm an extensive user of it and I'll see to submit gem2tgz once I get github to serve a tagged archive. That could be the start of my contribution to SBo with those of my slackbuilds that are submittable (I tend to have scripts that pull directly from git|hg|svn|...)


package management, ruby, rubygems, slackware, tool

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[ANN] compat32pkg 1.2.110112 phenixia2003 Slackware 6 02-25-2011 05:31 AM
[ANN] mkslack 3.8 released dive Slackware 2 02-09-2011 06:49 PM
[ANN] sbopkg 0.34.1 is released slakmagik Slackware 3 02-06-2011 03:57 PM
Hello from Ann Arbor! lindners Member Intro 1 07-07-2010 06:58 AM
Hello from Ann Arbor joemac Member Intro 1 01-19-2010 08:30 PM

All times are GMT -5. The time now is 03:59 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration