Forum: Ruby on Rails Recognize frozen gems without loading rails environment?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
3a2e4b10b9acfeff278ad0e1d629443b?d=identicon&s=25 Taylor (Guest)
on 2008-11-25 17:21
(Received via mailing list)
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
This topic is locked and can not be replied to.