{"action":"created","issue":{"url":"https://api.github.com/repos/chef-cookbooks/lvm/issues/72","labels_url":"https://api.github.com/repos/chef-cookbooks/lvm/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/chef-cookbooks/lvm/issues/72/comments","events_url":"https://api.github.com/repos/chef-cookbooks/lvm/issues/72/events","html_url":"https://github.com/chef-cookbooks/lvm/pull/72","id":115148058,"number":72,"title":"Added \"compile_time false if respond_to?(:compile_time)\"","user":{"login":"osgrob","id":9460696,"avatar_url":"https://avatars.githubusercontent.com/u/9460696?v=3","gravatar_id":"","url":"https://api.github.com/users/osgrob","html_url":"https://github.com/osgrob","followers_url":"https://api.github.com/users/osgrob/followers","following_url":"https://api.github.com/users/osgrob/following{/other_user}","gists_url":"https://api.github.com/users/osgrob/gists{/gist_id}","starred_url":"https://api.github.com/users/osgrob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osgrob/subscriptions","organizations_url":"https://api.github.com/users/osgrob/orgs","repos_url":"https://api.github.com/users/osgrob/repos","events_url":"https://api.github.com/users/osgrob/events{/privacy}","received_events_url":"https://api.github.com/users/osgrob/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-11-04T21:07:27Z","updated_at":"2015-11-04T22:55:23Z","closed_at":"2015-11-04T21:37:11Z","pull_request":{"url":"https://api.github.com/repos/chef-cookbooks/lvm/pulls/72","html_url":"https://github.com/chef-cookbooks/lvm/pull/72","diff_url":"https://github.com/chef-cookbooks/lvm/pull/72.diff","patch_url":"https://github.com/chef-cookbooks/lvm/pull/72.patch"},"body":"I was having trouble including the lvm cookbook as part of a run list in an environment that does not have direct access to ruby-gems.org, but configures the instance to use nexus as part of the run list.\r\n\r\ni.e. The gem cannot be installed compile time, but after certain other resources in the run list have converged the chef-gem resource is able to install the required gems.\r\n\r\nI have tested that adding \"compile_time false if respond_to?(:compile_time)\" to both chef-gems to insure compile_time installation is disabled as discussed: https://docs.chef.io/resource_chef_gem.html both passes existing kitchen tests and resolves the issue in my environment.\r\n\r\nWould this be a good addition to the lvm cookbook?"},"comment":{"url":"https://api.github.com/repos/chef-cookbooks/lvm/issues/comments/153895873","html_url":"https://github.com/chef-cookbooks/lvm/pull/72#issuecomment-153895873","issue_url":"https://api.github.com/repos/chef-cookbooks/lvm/issues/72","id":153895873,"user":{"login":"scalp42","id":1475276,"avatar_url":"https://avatars.githubusercontent.com/u/1475276?v=3","gravatar_id":"","url":"https://api.github.com/users/scalp42","html_url":"https://github.com/scalp42","followers_url":"https://api.github.com/users/scalp42/followers","following_url":"https://api.github.com/users/scalp42/following{/other_user}","gists_url":"https://api.github.com/users/scalp42/gists{/gist_id}","starred_url":"https://api.github.com/users/scalp42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scalp42/subscriptions","organizations_url":"https://api.github.com/users/scalp42/orgs","repos_url":"https://api.github.com/users/scalp42/repos","events_url":"https://api.github.com/users/scalp42/events{/privacy}","received_events_url":"https://api.github.com/users/scalp42/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T22:55:23Z","updated_at":"2015-11-04T22:55:23Z","body":"@osgrob this is the reason why it seems to be working for you: https://github.com/sethvargo/chef-sugar/blob/master/CHANGELOG.md#breaking-changes\r\n\r\nAny version before that one will break."}}