Inspecting the Contents of a Ruby Gem

From time to time you’ll need to inspect the contents of a locally installed Ruby gem. For instance - I needed to check the contents of my Jekyll theme (minima) earlier today, so I could override something that was hardcoded there.

Each installed gem corresponds to a directory in your local file system, so all you need to do is find out where a particular gem resides. There are several ways to do this…

This thread was posted by one of our members via one of our automated news source trackers.

Corresponding tweet for this thread:

https://twitter.com/dev_talk/status/1339275883216039938

Share link for this tweet.


Related portal: