{"action":"created","issue":{"url":"https://api.github.com/repos/chef/chef/issues/3457","labels_url":"https://api.github.com/repos/chef/chef/issues/3457/labels{/name}","comments_url":"https://api.github.com/repos/chef/chef/issues/3457/comments","events_url":"https://api.github.com/repos/chef/chef/issues/3457/events","html_url":"https://github.com/chef/chef/pull/3457","id":83567560,"number":3457,"title":"Drop support for rubygems 1.x","user":{"login":"danielsdeleo","id":37162,"avatar_url":"https://avatars.githubusercontent.com/u/37162?v=3","gravatar_id":"","url":"https://api.github.com/users/danielsdeleo","html_url":"https://github.com/danielsdeleo","followers_url":"https://api.github.com/users/danielsdeleo/followers","following_url":"https://api.github.com/users/danielsdeleo/following{/other_user}","gists_url":"https://api.github.com/users/danielsdeleo/gists{/gist_id}","starred_url":"https://api.github.com/users/danielsdeleo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielsdeleo/subscriptions","organizations_url":"https://api.github.com/users/danielsdeleo/orgs","repos_url":"https://api.github.com/users/danielsdeleo/repos","events_url":"https://api.github.com/users/danielsdeleo/events{/privacy}","received_events_url":"https://api.github.com/users/danielsdeleo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chef/chef/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-01T15:40:32Z","updated_at":"2015-06-01T15:41:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chef/chef/pulls/3457","html_url":"https://github.com/chef/chef/pull/3457","diff_url":"https://github.com/chef/chef/pull/3457.diff","patch_url":"https://github.com/chef/chef/pull/3457.patch"},"body":"Ruby 2.0 is the oldest release we support, and it ships with Rubygems\r\n2.0: https://github.com/ruby/ruby/blob/v2_0_0_0/lib/rubygems.rb#L11\r\n\r\nThis may fix issues we see in Ci, which have a stack trace like this:\r\n\r\n```\r\n/opt/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems/specification.rb:762:in `block in _resort!': undefined method `name' for nil:NilClass (NoMethodError)\r\n\tfrom /opt/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems/specification.rb:761:in `sort!'\r\n\tfrom /opt/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems/specification.rb:761:in `_resort!'\r\n\tfrom /opt/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems/specification.rb:713:in `_all'\r\n\tfrom /opt/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems/specification.rb:896:in `each'\r\n\tfrom /opt/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems/specification.rb:928:in `find'\r\n\tfrom /opt/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems/specification.rb:928:in `find_by_path'\r\n\tfrom /opt/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems.rb:190:in `try_activate'\r\n\tfrom /opt/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:126:in `rescue in require'\r\n\tfrom /opt/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:39:in `require'\r\n\tfrom /opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/chef-12.3.0/lib/chef/provider/package/rubygems.rb:39:in `<top (required)>'\r\n```\r\n\r\nUnfortunately the issue is not consistent so we don't know for sure that this will fix, but there's no harm in dropping older rubygems for the above stated reasons.\r\n\r\n@chef/client-core "},"comment":{"url":"https://api.github.com/repos/chef/chef/issues/comments/107593592","html_url":"https://github.com/chef/chef/pull/3457#issuecomment-107593592","issue_url":"https://api.github.com/repos/chef/chef/issues/3457","id":107593592,"user":{"login":"lamont-granquist","id":454857,"avatar_url":"https://avatars.githubusercontent.com/u/454857?v=3","gravatar_id":"","url":"https://api.github.com/users/lamont-granquist","html_url":"https://github.com/lamont-granquist","followers_url":"https://api.github.com/users/lamont-granquist/followers","following_url":"https://api.github.com/users/lamont-granquist/following{/other_user}","gists_url":"https://api.github.com/users/lamont-granquist/gists{/gist_id}","starred_url":"https://api.github.com/users/lamont-granquist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lamont-granquist/subscriptions","organizations_url":"https://api.github.com/users/lamont-granquist/orgs","repos_url":"https://api.github.com/users/lamont-granquist/repos","events_url":"https://api.github.com/users/lamont-granquist/events{/privacy}","received_events_url":"https://api.github.com/users/lamont-granquist/received_events","type":"User","site_admin":false},"created_at":"2015-06-01T15:41:33Z","updated_at":"2015-06-01T15:41:33Z","body":":+1: "}}