Dear Allison,

thanks for Your help - it works perfectly after replacing  

"Gem::Specification.list.each" with "Gem.loaded_specs".


Best regards 

subverse