tags:

views:

63

answers:

4

Is it possible to search for all gems that rely on a certain rubygem?

For example, I'd like to ask for all gems in gemcutter that rely on the test-unit gem.

Background: I'm looking to see how other gems handle the issue mentioned here.

+1  A: 

Bite the bullet, do it the BFI way.

Use gem fetch and then gem unpack to just d/l and extract them all. You don't have to install them, and then you can use ordinary CLI tools to get the list you want.

DigitalRoss
A: 

Use Google + Gemcutter.

Bob Aman
+1  A: 

Searching for gems with test-unit- brings up a few gems with test-unit- dependencies:

gem search test-unit-

Also, you can search your local gems dependencies with my gem grep plugin

gem grep -f dependencies test-unit

In a future release I plan to support searching remote gem dependencies ...