{"issue":{"milestone":null,"user":{"login":"stass","id":57184,"url":"https://api.github.com/users/stass","avatar_url":"https://secure.gravatar.com/avatar/d46a0a9068d00c150835497ade6b4e08?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"d46a0a9068d00c150835497ade6b4e08"},"title":"Gem::all_load_paths method is broken","created_at":"2011-09-01T09:35:22Z","labels":[],"updated_at":"2011-12-17T15:18:41Z","state":"open","id":1539414,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"html_url":"https://github.com/rubygems/rubygems/issues/171","closed_at":null,"body":"Hi!\r\n\r\nWhen using the now deprecated \"all_load_paths\" method, it throws the exception:\r\n\r\n> % ruby 1.rb\r\n> NOTE: Gem.all_load_paths is deprecated with no replacement. It will be removed on or after 2011-10-01.\r\n> Gem.all_load_paths called from 1.rb:2.\r\n> NOTE: Gem.all_partials is deprecated with no replacement. It will be removed on or after 2011-10-01.\r\n> Gem.all_partials called from /usr/local/lib/ruby/site_ruby/1.9/rubygems.rb:258.\r\n> NOTE: Gem.all_partials is deprecated with no replacement. It will be removed on or after 2011-10-01.\r\n> Gem.all_partials called from /usr/local/lib/ruby/site_ruby/1.9/rubygems.rb:258.\r\n> /usr/local/lib/ruby/site_ruby/1.9/rubygems.rb:259:in `block (2 levels) in all_load_paths': undefined method `add' for \"/usr/local/lib/ruby/gems/1.9\":String (NoMethodError)\r\n>         from /usr/local/lib/ruby/site_ruby/1.9/rubygems.rb:427:in `block (2 levels) in each_load_path'\r\n>         from /usr/local/lib/ruby/site_ruby/1.9/rubygems.rb:426:in `each'\r\n>         from /usr/local/lib/ruby/site_ruby/1.9/rubygems.rb:426:in `block in each_load_path'\r\n>         from /usr/local/lib/ruby/site_ruby/1.9/rubygems.rb:421:in `each'\r\n>         from /usr/local/lib/ruby/site_ruby/1.9/rubygems.rb:421:in `each_load_path'\r\n>         from /usr/local/lib/ruby/site_ruby/1.9/rubygems.rb:258:in `block in all_load_paths'\r\n>         from /usr/local/lib/ruby/site_ruby/1.9/rubygems.rb:257:in `each'\r\n>         from /usr/local/lib/ruby/site_ruby/1.9/rubygems.rb:257:in `all_load_paths'\r\n>         from /usr/local/lib/ruby/site_ruby/1.9/rubygems/deprecate.rb:62:in `block (2 levels) in deprecate'\r\n>         from 1.rb:2:in `<main>'\r\n\r\nThe testcase is simple:\r\n\r\n``` ruby\r\nrequire 'rubygems'\r\nputs Gem.all_load_paths\r\n```","number":171,"url":"https://api.github.com/repos/rubygems/rubygems/issues/171","comments":2,"assignee":{"login":"drbrain","id":9831,"url":"https://api.github.com/users/drbrain","avatar_url":"https://secure.gravatar.com/avatar/58479f76374a3ba3c69b9804163f39f4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"58479f76374a3ba3c69b9804163f39f4"}},"comment":{"user":{"login":"paneq","id":65587,"url":"https://api.github.com/users/paneq","avatar_url":"https://secure.gravatar.com/avatar/9b81cae1fb43808ac23a2188258ca9e4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"9b81cae1fb43808ac23a2188258ca9e4"},"created_at":"2011-12-17T15:18:40Z","updated_at":"2011-12-17T15:18:40Z","id":3189792,"body":"@pkang - I am using `slimgems` as temporary workaround: http://slimgems.github.com/","url":"https://api.github.com/repos/rubygems/rubygems/issues/comments/3189792"},"action":"created"}