From: Hal Brodigan Date: 2009-03-31T14:20:18+09:00 Subject: [ruby-core:23074] [Bug #1335] RubyGems 1.3.1 gem method will load all gems beginning with the given name Bug #1335: RubyGems 1.3.1 gem method will load all gems beginning with the given name http://redmine.ruby-lang.org/issues/show/1335 Author: Hal Brodigan Status: Open, Priority: High Category: core ruby -v: ruby 1.9.1p0 (2009-01-30 revision 21907) [x86_64-linux] I noticed a strange behaviour while testing my libraries with Ruby 1.9.1-p0. I successfully installed ronin version 0.2.2 and ronin-scanners version 0.1.3 with Ruby 1.9.1-p0. When I attempted to load the ronin RubyGem using "gem 'ronin'", I noticed that ronin-scanners 0.1.3 was also loaded into $LOAD_PATH. Since lib/ directories with similar layouts were included into the $LOAD_PATH, this caused various loading issues. Note: ronin-scanners version 0.1.3 depends on ronin >= 0.2.1, but ronin-scanners is not required by ronin and should not need to be loaded by RubyGems. This behaviour could not be reproduced with Ruby 1.8.6, so I'm left to believe this is a Ruby 1.9.x specific issue. ---------------------------------------- http://redmine.ruby-lang.org