Check system dependencies for a gem

2019-07-17 08:01发布

问题:

How I can check which system libraries I need for my gems ?

For example the Mysql gem needs the mysql header files, rmagick requires imagemagick, and so on...

How I can list all libraries needed to install the gem ?

If it is not possible, how I can check if all system dependencies are satisfied to install the selected gem ?

回答1:

Use the gem dependency GEMNAME command.

See the documentation here.