{"action":"created","issue":{"url":"https://api.github.com/repos/chef-cookbooks/docker/issues/677","repository_url":"https://api.github.com/repos/chef-cookbooks/docker","labels_url":"https://api.github.com/repos/chef-cookbooks/docker/issues/677/labels{/name}","comments_url":"https://api.github.com/repos/chef-cookbooks/docker/issues/677/comments","events_url":"https://api.github.com/repos/chef-cookbooks/docker/issues/677/events","html_url":"https://github.com/chef-cookbooks/docker/issues/677","id":139143132,"number":677,"title":"rspec fails on chefdk 0.11.2","user":{"login":"vinyar","id":5116939,"avatar_url":"https://avatars.githubusercontent.com/u/5116939?v=3","gravatar_id":"","url":"https://api.github.com/users/vinyar","html_url":"https://github.com/vinyar","followers_url":"https://api.github.com/users/vinyar/followers","following_url":"https://api.github.com/users/vinyar/following{/other_user}","gists_url":"https://api.github.com/users/vinyar/gists{/gist_id}","starred_url":"https://api.github.com/users/vinyar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinyar/subscriptions","organizations_url":"https://api.github.com/users/vinyar/orgs","repos_url":"https://api.github.com/users/vinyar/repos","events_url":"https://api.github.com/users/vinyar/events{/privacy}","received_events_url":"https://api.github.com/users/vinyar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-03-08T01:05:55Z","updated_at":"2016-03-21T13:14:42Z","closed_at":null,"body":"undefined method `step_into?' for nil:NilClass\r\n\r\n$ chef -v\r\nChef Development Kit Version: 0.11.2\r\nchef-client version: 12.7.2\r\nberks version: 4.2.0\r\nkitchen version: 1.5.0\r\n\r\nfull(er) error\r\n```\r\n$ chef exec rspec\r\nRun options: include {:focus=>true}\r\n\r\nAll examples were filtered out; ignoring {:focus=>true}\r\n\r\n================================================================================\r\nRecipe Compile Error in /var/folders/9r/g1wlns1j29bg0c7b_6fr7b480000gr/T/d20160308-15455-1fq9xca/cookbooks/docker/libraries/_autoload.rb\r\n================================================================================\r\n\r\nNoMethodError\r\n-------------\r\nundefined method `step_into?' for nil:NilClass\r\n\r\nCookbook Trace:\r\n---------------\r\n  /var/folders/9r/g1wlns1j29bg0c7b_6fr7b480000gr/T/d20160308-15455-1fq9xca/cookbooks/docker/libraries/_autoload.rb:10:in `rescue in <top (required)>'\r\n  /var/folders/9r/g1wlns1j29bg0c7b_6fr7b480000gr/T/d20160308-15455-1fq9xca/cookbooks/docker/libraries/_autoload.rb:1:in `<top (required)>'\r\n\r\nRelevant File Content:\r\n----------------------\r\n/var/folders/9r/g1wlns1j29bg0c7b_6fr7b480000gr/T/d20160308-15455-1fq9xca/cookbooks/docker/libraries/_autoload.rb:\r\n\r\n  3:  rescue LoadError\r\n  4:    run_context = Chef::RunContext.new(Chef::Node.new, {}, Chef::EventDispatch::Dispatcher.new)\r\n  5:\r\n  6:    require 'chef/resource/chef_gem'\r\n  7:\r\n  8:    docker = Chef::Resource::ChefGem.new('docker-api', run_context)\r\n  9:    docker.version '= 1.26.2'\r\n 10>>   docker.run_action(:install)\r\n 11:  end\r\n 12:\r\n\r\nF\r\n```"},"comment":{"url":"https://api.github.com/repos/chef-cookbooks/docker/issues/comments/199268869","html_url":"https://github.com/chef-cookbooks/docker/issues/677#issuecomment-199268869","issue_url":"https://api.github.com/repos/chef-cookbooks/docker/issues/677","id":199268869,"user":{"login":"b-dean","id":3189231,"avatar_url":"https://avatars.githubusercontent.com/u/3189231?v=3","gravatar_id":"","url":"https://api.github.com/users/b-dean","html_url":"https://github.com/b-dean","followers_url":"https://api.github.com/users/b-dean/followers","following_url":"https://api.github.com/users/b-dean/following{/other_user}","gists_url":"https://api.github.com/users/b-dean/gists{/gist_id}","starred_url":"https://api.github.com/users/b-dean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b-dean/subscriptions","organizations_url":"https://api.github.com/users/b-dean/orgs","repos_url":"https://api.github.com/users/b-dean/repos","events_url":"https://api.github.com/users/b-dean/events{/privacy}","received_events_url":"https://api.github.com/users/b-dean/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T13:14:42Z","updated_at":"2016-03-21T13:14:42Z","body":"Feel free to close it. I putting `docker-api` in the Gemfile of any cookbook that depends on docker is a bit annoying, but solves the problem. I haven't had time to see if I could figure out a different way to get that docker-api gem installed in chef. If I ever look at it, I'll mention this issue on a PR."}}