{"action":"created","issue":{"url":"https://api.github.com/repos/chef/chef-dk/issues/411","labels_url":"https://api.github.com/repos/chef/chef-dk/issues/411/labels{/name}","comments_url":"https://api.github.com/repos/chef/chef-dk/issues/411/comments","events_url":"https://api.github.com/repos/chef/chef-dk/issues/411/events","html_url":"https://github.com/chef/chef-dk/issues/411","id":85208734,"number":411,"title":"rubygems undefined method `activate' for nil:NilClass","user":{"login":"btm","id":4381,"avatar_url":"https://avatars.githubusercontent.com/u/4381?v=3","gravatar_id":"","url":"https://api.github.com/users/btm","html_url":"https://github.com/btm","followers_url":"https://api.github.com/users/btm/followers","following_url":"https://api.github.com/users/btm/following{/other_user}","gists_url":"https://api.github.com/users/btm/gists{/gist_id}","starred_url":"https://api.github.com/users/btm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btm/subscriptions","organizations_url":"https://api.github.com/users/btm/orgs","repos_url":"https://api.github.com/users/btm/repos","events_url":"https://api.github.com/users/btm/events{/privacy}","received_events_url":"https://api.github.com/users/btm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-06-04T18:02:03Z","updated_at":"2015-06-29T16:58:18Z","closed_at":null,"body":"\r\n\r\n```\r\nPS C:\\Users\\Administrator> chef exec knife windows cert generate\r\nC:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems.rb:198:in `rescue in try_activate': undefined method `activate' for nil:NilClass (NoMethodError)\r\n        from C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems.rb:195:in `try_activate'\r\n        from C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:126:in `rescue in require'\r\n        from C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:39:in `require'\r\n        from C:/Users/Administrator/.chefdk/gem/ruby/2.1.0/gems/knife-windows-1.0.0.rc.0/lib/chef/knife/bootstrap_windows_base.rb:22:in `<top (required)>'\r\n        from C:/opscode/chefdk/embedded/apps/chef/lib/chef/knife/core/subcommand_loader.rb:44:in `load'\r\n        from C:/opscode/chefdk/embedded/apps/chef/lib/chef/knife/core/subcommand_loader.rb:44:in `block in load_commands'\r\n        from C:/opscode/chefdk/embedded/apps/chef/lib/chef/knife/core/subcommand_loader.rb:44:in `each'\r\n        from C:/opscode/chefdk/embedded/apps/chef/lib/chef/knife/core/subcommand_loader.rb:44:in `load_commands'\r\n        from C:/opscode/chefdk/embedded/apps/chef/lib/chef/knife.rb:127:in `load_commands'\r\n        from C:/opscode/chefdk/embedded/apps/chef/lib/chef/knife.rb:208:in `run'\r\n        from C:/opscode/chefdk/embedded/apps/chef/lib/chef/application/knife.rb:142:in `run'\r\n        from C:/opscode/chefdk/embedded/apps/chef/bin/knife:25:in `<top (required)>'\r\n        from C:/opscode/chefdk/bin/knife:63:in `load'\r\n        from C:/opscode/chefdk/bin/knife:63:in `<main>'\r\n```\r\n\r\n```\r\nPS C:\\Users\\Administrator> chef gem list knife-windows\r\n\r\n*** LOCAL GEMS ***\r\n\r\nknife-windows (1.0.0.rc.0)\r\n```\r\n\r\n```\r\nPS C:\\Users\\Administrator> chef --version\r\nChef Development Kit Version: 0.6.0\r\nchef-client version: 12.3.0\r\nberks version: 3.2.4\r\nkitchen version: 1.4.0\r\n```\r\n\r\n```\r\nPS C:\\Users\\Administrator> chef verify\r\nRunning verification for component 'berkshelf'\r\nRunning verification for component 'test-kitchen'\r\nRunning verification for component 'chef-client'\r\nRunning verification for component 'chef-dk'\r\nRunning verification for component 'chefspec'\r\nRunning verification for component 'rubocop'\r\nRunning verification for component 'fauxhai'\r\nRunning verification for component 'knife-spork'\r\nRunning verification for component 'kitchen-vagrant'\r\nRunning verification for component 'package installation'\r\n.......................................\r\n\r\nC:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems.rb:198:in `rescue in try_activate': undefined method `activ\r\nate' for nil:NilClass (NoMethodError)\r\n        from C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems.rb:195:in `try_activate'\r\n        from C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:126:in `rescue in require'\r\n        from C:/opscode/chefdk/embedded/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:39:in `require'\r\n        from C:/Users/Administrator/.chefdk/gem/ruby/2.1.0/gems/knife-windows-1.0.0.rc.0/lib/chef/knife/bootstrap_windows_base.rb:22:in `<top (required)>'\r\n        from C:/opscode/chefdk/embedded/apps/chef/lib/chef/knife/core/subcommand_loader.rb:44:in `load'\r\n        from C:/opscode/chefdk/embedded/apps/chef/lib/chef/knife/core/subcommand_loader.rb:44:in `block in load_commands'\r\n        from C:/opscode/chefdk/embedded/apps/chef/lib/chef/knife/core/subcommand_loader.rb:44:in `each'\r\n        from C:/opscode/chefdk/embedded/apps/chef/lib/chef/knife/core/subcommand_loader.rb:44:in `load_commands'\r\n        from C:/opscode/chefdk/embedded/apps/chef/lib/chef/knife.rb:127:in `load_commands'\r\n        from C:/opscode/chefdk/embedded/apps/chef/lib/chef/knife.rb:208:in `run'\r\n        from C:/opscode/chefdk/embedded/apps/chef/lib/chef/application/knife.rb:142:in `run'\r\n        from C:/opscode/chefdk/embedded/apps/chef/bin/knife:25:in `<top (required)>'\r\n        from C:/opscode/chefdk/bin/knife:63:in `load'\r\n        from C:/opscode/chefdk/bin/knife:63:in `<main>'\r\n\r\n\r\n---------------------------------------------\r\nVerification of component 'rubocop' succeeded.\r\nVerification of component 'package installation' succeeded.\r\nVerification of component 'berkshelf' succeeded.\r\nVerification of component 'chef-client' succeeded.\r\nVerification of component 'chefspec' succeeded.\r\nVerification of component 'knife-spork' failed.\r\nVerification of component 'test-kitchen' succeeded.\r\nVerification of component 'fauxhai' succeeded.\r\nVerification of component 'chef-dk' succeeded.\r\nVerification of component 'kitchen-vagrant' succeeded.\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/chef/chef-dk/issues/comments/116761063","html_url":"https://github.com/chef/chef-dk/issues/411#issuecomment-116761063","issue_url":"https://api.github.com/repos/chef/chef-dk/issues/411","id":116761063,"user":{"login":"btm","id":4381,"avatar_url":"https://avatars.githubusercontent.com/u/4381?v=3","gravatar_id":"","url":"https://api.github.com/users/btm","html_url":"https://github.com/btm","followers_url":"https://api.github.com/users/btm/followers","following_url":"https://api.github.com/users/btm/following{/other_user}","gists_url":"https://api.github.com/users/btm/gists{/gist_id}","starred_url":"https://api.github.com/users/btm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btm/subscriptions","organizations_url":"https://api.github.com/users/btm/orgs","repos_url":"https://api.github.com/users/btm/repos","events_url":"https://api.github.com/users/btm/events{/privacy}","received_events_url":"https://api.github.com/users/btm/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T16:58:18Z","updated_at":"2015-06-29T16:58:18Z","body":"On a fresh install of a chefdk 0.7 nightly, running `chef gem install knife-windows -v 1.0.0.rc.1 --no-user-install` produces a usable install of the knife windows plugin, tested using `knife windows cert generate -H blah`"}}