rubygem dependencies autoremoval

B

botp

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
 
J

John Barnette

...
=20
later, i uninstall ruport
=20
$ gem uninstall ruport
Successfully uninstalled ruport-1.6.3
=20
but the dependencies are still there and not removed.
=20
$ gem list
=20
*** LOCAL GEMS ***
color (1.4.1)
fastercsv (1.5.3)
hoe (2.6.1)
json_pure (1.4.3)
pdf-writer (1.1.8)
=20
=20
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. =
:(


~ j.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,143
Latest member
SterlingLa
Top