Recognize frozen gems without loading rails environment?

Hi all,

Does anyone know of a simple way to recognize frozen gems without loading the entire rails environment?

One thought is to just modify ENV['GEM_PATH'] and then call Gem.clear_paths. But I know that a lot of work was done on gem loading in 2.2, and I'm wondering if there is a better way to do this.

Thanks in advance! Taylor