{"action":"created","issue":{"url":"https://api.github.com/repos/berkshelf/ridley/issues/336","labels_url":"https://api.github.com/repos/berkshelf/ridley/issues/336/labels{/name}","comments_url":"https://api.github.com/repos/berkshelf/ridley/issues/336/comments","events_url":"https://api.github.com/repos/berkshelf/ridley/issues/336/events","html_url":"https://github.com/berkshelf/ridley/issues/336","id":128547027,"number":336,"title":"Ridley 4.4.2 doesn't work with Chef < 12.5","user":{"login":"bbrownz","id":1099854,"avatar_url":"https://avatars.githubusercontent.com/u/1099854?v=3","gravatar_id":"","url":"https://api.github.com/users/bbrownz","html_url":"https://github.com/bbrownz","followers_url":"https://api.github.com/users/bbrownz/followers","following_url":"https://api.github.com/users/bbrownz/following{/other_user}","gists_url":"https://api.github.com/users/bbrownz/gists{/gist_id}","starred_url":"https://api.github.com/users/bbrownz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbrownz/subscriptions","organizations_url":"https://api.github.com/users/bbrownz/orgs","repos_url":"https://api.github.com/users/bbrownz/repos","events_url":"https://api.github.com/users/bbrownz/events{/privacy}","received_events_url":"https://api.github.com/users/bbrownz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-25T14:23:48Z","updated_at":"2016-01-30T04:13:43Z","closed_at":null,"body":"I started running into an issue with the 4.4.2 version of ridley that resulted in the following error\r\n\r\n```\r\n/var/lib/spork/.rvm/gems/ruby-2.1.2@pop_health_main/gems/ridley-4.4.2/lib/ridley/chef/config.rb:2:in `require': cannot load such file -- chef-config/workstation_config_loader (LoadError)\r\n\tfrom /var/lib/spork/.rvm/gems/ruby-2.1.2@pop_health_main/gems/ridley-4.4.2/lib/ridley/chef/config.rb:2:in `<top (required)>'\r\n\tfrom /var/lib/spork/.rvm/gems/ruby-2.1.2@pop_health_main/gems/ridley-4.4.2/lib/ridley/chef.rb:6:in `require_relative'\r\n\tfrom /var/lib/spork/.rvm/gems/ruby-2.1.2@pop_health_main/gems/ridley-4.4.2/lib/ridley/chef.rb:6:in `<module:Chef>'\r\n\tfrom /var/lib/spork/.rvm/gems/ruby-2.1.2@pop_health_main/gems/ridley-4.4.2/lib/ridley/chef.rb:4:in `<module:Ridley>'\r\n\tfrom /var/lib/spork/.rvm/gems/ruby-2.1.2@pop_health_main/gems/ridley-4.4.2/lib/ridley/chef.rb:1:in `<top (required)>'\r\n\tfrom /var/lib/spork/.rvm/gems/ruby-2.1.2@pop_health_main/gems/ridley-4.4.2/lib/ridley.rb:69:in `require_relative'\r\n\tfrom /var/lib/spork/.rvm/gems/ruby-2.1.2@pop_health_main/gems/ridley-4.4.2/lib/ridley.rb:69:in `<module:Ridley>'\r\n\tfrom /var/lib/spork/.rvm/gems/ruby-2.1.2@pop_health_main/gems/ridley-4.4.2/lib/ridley.rb:15:in `<top (required)>'\r\n\tfrom /var/lib/spork/.rvm/gems/ruby-2.1.2@pop_health_main/gems/berkshelf-4.0.1/lib/berkshelf.rb:7:in `require'\r\n\tfrom /var/lib/spork/.rvm/gems/ruby-2.1.2@pop_health_main/gems/berkshelf-4.0.1/lib/berkshelf.rb:7:in `<top (required)>'\r\n\tfrom /var/lib/spork/.rvm/gems/ruby-2.1.2@pop_health_main/gems/berkshelf-4.0.1/lib/berkshelf/cli.rb:1:in `require'\r\n\tfrom /var/lib/spork/.rvm/gems/ruby-2.1.2@pop_health_main/gems/berkshelf-4.0.1/lib/berkshelf/cli.rb:1:in `<top (required)>'\r\n\tfrom /var/lib/spork/.rvm/gems/ruby-2.1.2@pop_health_main/gems/berkshelf-4.0.1/bin/berks:3:in `require'\r\n\tfrom /var/lib/spork/.rvm/gems/ruby-2.1.2@pop_health_main/gems/berkshelf-4.0.1/bin/berks:3:in `<top (required)>'\r\n\tfrom /var/lib/spork/.rvm/gems/ruby-2.1.2@pop_health_main/bin/berks:23:in `load'\r\n\tfrom /var/lib/spork/.rvm/gems/ruby-2.1.2@pop_health_main/bin/berks:23:in `<main>'\r\n\tfrom /var/lib/spork/.rvm/gems/ruby-2.1.2@pop_health_main/bin/ruby_executable_hooks:15:in `eval'\r\n\tfrom /var/lib/spork/.rvm/gems/ruby-2.1.2@pop_health_main/bin/ruby_executable_hooks:15:in `<main>'\r\n```\r\n\r\nIt looks like 4.4.2 included a change (#333) to start using chef-config again, including `require 'chef-config/workstation_config_loader'`. However, workstation_config_loader wasn't moved into chef-config [until 12.5.0](https://github.com/chef/chef/commit/6a4f414666b3688a3dfa94b131f83235f4d2fa64#diff-bd822a94b8aff21b210a0f423916fe57). It would be worth noting in the gemspec the minimum chef-config version required."},"comment":{"url":"https://api.github.com/repos/berkshelf/ridley/issues/comments/177062173","html_url":"https://github.com/berkshelf/ridley/issues/336#issuecomment-177062173","issue_url":"https://api.github.com/repos/berkshelf/ridley/issues/336","id":177062173,"user":{"login":"dougalb","id":2430346,"avatar_url":"https://avatars.githubusercontent.com/u/2430346?v=3","gravatar_id":"","url":"https://api.github.com/users/dougalb","html_url":"https://github.com/dougalb","followers_url":"https://api.github.com/users/dougalb/followers","following_url":"https://api.github.com/users/dougalb/following{/other_user}","gists_url":"https://api.github.com/users/dougalb/gists{/gist_id}","starred_url":"https://api.github.com/users/dougalb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougalb/subscriptions","organizations_url":"https://api.github.com/users/dougalb/orgs","repos_url":"https://api.github.com/users/dougalb/repos","events_url":"https://api.github.com/users/dougalb/events{/privacy}","received_events_url":"https://api.github.com/users/dougalb/received_events","type":"User","site_admin":false},"created_at":"2016-01-30T04:13:43Z","updated_at":"2016-01-30T04:13:43Z","body":"I've addressed this by doing a versioned install of ridley and berkshelf.\n\nI specifically install ridley-4.3.2 and berkshelf-4.0.1\n\nhttps://github.com/awslabs/cfncluster-cookbook/blob/develop/packer_alinux.json#L82\n\nOn Friday, January 29, 2016, Diego Rodriguez <notifications@github.com>\nwrote:\n\n> I am running into this issue as well\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/berkshelf/ridley/issues/336#issuecomment-177057432>.\n>\n"}}