如何列出已安装gem的内容?

时间:2021-01-16 07:11:10

Some gems ("sup" for example) install files not only in gem environment gemdir, but also in other places - like /usr/local/bin.

一些宝石(例如“sup”)不仅在gem环境gemdir中安装文件,而且在其他地方安装文件 - 比如/ usr / local / bin。

How can I list all files that belong to given gem?

如何列出属于给定gem的所有文件?

2 个解决方案

#1


17  

What you're looking for is:

你在寻找的是:

gem contents gem_name_here

#2


1  

To view the content:

要查看内容:

bundle open gemname

捆绑开放宝石名称

#1


17  

What you're looking for is:

你在寻找的是:

gem contents gem_name_here

#2


1  

To view the content:

要查看内容:

bundle open gemname

捆绑开放宝石名称