Forum: Ruby Fwd: gembundles

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
45196398e9685000d195ec626d477f0e?d=identicon&s=25 TRANS (Guest)
on 2007-03-22 18:08
(Received via mailing list)
---------- Forwarded message ----------
From: TRANS <>
Date: Mar 20, 2007 9:39 PM
Subject: gembundles


A few days back I brought up some ideas for dealing with
multi-packages. This evening I sat down and put to together a little
tool to handle just that: gembundle.

The ideas is simple. Lets say I have a couple of gems: hello_world.gem
and adios_world.gem.

  % gembundle build tryme hello_world-1.0.0.gem adios_world-1.0.0.gem

This creates a tar.gz file called, tryme.gembundle which simply
contains the two listed gems, Then...

  % gembundle install tryme.gembundle
  Successfully installed hello_world, version 1.0.0
  Successfully installed adios_world, version 1.0.0

The intsall command just copies the bundle to a temp location, unpacks
it and installs the contained gems (with the -y option).

That's it.

Of course, my script is just a quick prototype --I'm shelling out for
all the tar and gem stuff. And it doesn't support some features like
remote access for grabbing gems to bundle.  But hopefully it doesn't
matter b/c I wanted to see if others would approve of this
functionality being incorporated into RubyGems itself. It's pretty
straightforward. It would just mean adding a "bundle" command to the
gem CLI and allowing the installer to recognize a bundle vs a regular
gem,such that '.gem' could still be used instead '.gembundle'.

So what is it good for? It gives large application developers
breathing room to use vendor gems more freely. Per my explanation in
my last post, installing a gem that has many dependencies can be
off-putting. Not only does the administrator have to consider each
dependency, but ensuring the right versions of each can be daunting as
well.  Gembundles take care these concerns. And since a bundle simply
contains regular gems it works seamlessly with the current design.

What do you think?

Ac0085dae0703db56ad7f8cb9e1798ba?d=identicon&s=25 Phillip Gawlowski (Guest)
on 2007-03-22 19:44
(Received via mailing list)
TRANS wrote:
[SNIP: Good Idea]
> What do you think?

Great! I'd love to have such a feature in gem, I'd even be happy with a
3rd party solution.

Phillip "CynicalRyan" Gawlowski

Rule of Open-Source Programming #37:

Duplicate effort is inevitable. Live with it.
45196398e9685000d195ec626d477f0e?d=identicon&s=25 Trans (Guest)
on 2007-03-23 08:14
(Received via mailing list)
On Mar 22, 2:42 pm, Phillip Gawlowski <>
> TRANS wrote:
> [SNIP: Good Idea]
> > What do you think?
> Great! I'd love to have such a feature in gem, I'd even be happy with a
> 3rd party solution.

I can do that. I'll clean it up and let you know.

This topic is locked and can not be replied to.