Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I list content of installed gem?

Tags:

ruby

gem

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?

like image 605
chu4Meek4e Avatar asked Nov 23 '13 11:11

chu4Meek4e


2 Answers

To view the content:

bundle open gemname

like image 44
Zippie Avatar answered Oct 31 '22 10:10

Zippie


What you're looking for is:

gem contents gem_name_here
like image 127
Maurício Linhares Avatar answered Oct 31 '22 10:10

Maurício Linhares