Rubygem dependencies autoremoval

Hi all, this is rubygems specific question. apology in advance.

if i install a gem, eg, say ruport

$ gem install ruport
Successfully installed fastercsv-1.5.3
Successfully installed color-1.4.1
Successfully installed json_pure-1.4.3
Successfully installed rubyforge-2.0.4
Successfully installed hoe-2.6.1
Successfully installed transaction-simple-1.4.0
Successfully installed pdf-writer-1.1.8
Successfully installed ruport-1.6.3
8 gems installed

later, i uninstall ruport

$ gem uninstall ruport
Successfully uninstalled ruport-1.6.3

but the dependencies are still there and not removed.

$ gem list

*** LOCAL GEMS ***
color (1.4.1)
fastercsv (1.5.3)
hoe (2.6.1)
json_pure (1.4.3)
pdf-writer (1.1.8)

now i have to remove them one by one too…

it would be a lot helpful if rubygem also remove them similar to what
debian’s apt does.
i hope this is in rubygems roadmap.

best regards -botp

On Aug 3, 2010, at 7:26 AM, botp wrote:

*** LOCAL GEMS ***
color (1.4.1)
fastercsv (1.5.3)
hoe (2.6.1)
json_pure (1.4.3)
pdf-writer (1.1.8)

now i have to remove them one by one too…

We don’t track the difference between an explicitly installed gem and a
gem installed via a dependency. Patches welcome, but it’s not a high
priority, and a more unpleasant dev task than it seems at first glance.
:frowning:

~ j.