How can I list content of installed gem?

ruby, rubygems

Solution

What you're looking for is:

gem contents gem_name_here

Problem

Some gems ("sup" for example) install files not only in `gem environment gemdir`, but also in other places - like /usr/local/bin. How can I list all files that belong to given gem?

Original source