Search code examples
ruby-on-railsbundlergemfile

List Gems from Rails Console


From rails console, how can I list the loaded gems in my environment?

I am using Gemfile and Rails 5. I've searched around with no results.


Solution

  • This post has a detailed explanation of what you seem to be asking for: List of installed gems?

    Gem::Specification.all_names