Is there any way to tell which gems and plugins are loaded at runtime for a Rails process?
问题 Is there any command either in debugger or ruby-debug to get a list of all gems and/or plugins loaded in memory for a Rails process? I understand only the ' require ' gems are loaded but I would like to quickly see what got loaded during runtime. 回答1: This should get you everything loaded through rubygems: Gem.loaded_specs.keys I don't know of a universal way to see which rails plugins are loaded, you can look at the source for Rails::Initializer (pre 3.0) & figure out what your version of