Whether you’re debugging a dependency issue, checking for an optional gem, or just curious about what’s loaded in your Ruby app, there’s a handy command that can help:
puts Gem.loaded_specs.keys.grep(/your_pattern_here/)
In this article, we will discuss what this command does, what exactly it’s checking for, and its limitations.
Read more