From b2e58d3594bb9a4dd8e1dbcf7212627ad20fd0cd Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Fri, 24 May 2019 14:43:24 -0700 Subject: fix shellout require idempotency and bump gems something is declaring an empty class somewhere and trolling me hard but ruby makes that near impossible to figure out, so be slightly more specific by looking for a mixlib-shellout constant also bumps the gems Signed-off-by: Lamont Granquist --- lib/chef/mixin/shell_out.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/chef/mixin') diff --git a/lib/chef/mixin/shell_out.rb b/lib/chef/mixin/shell_out.rb index d888dc3457..3a79c15b5d 100644 --- a/lib/chef/mixin/shell_out.rb +++ b/lib/chef/mixin/shell_out.rb @@ -15,7 +15,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -require "mixlib/shellout" unless defined?(Mixlib::ShellOut) +require "mixlib/shellout" unless defined?(Mixlib::ShellOut::DEFAULT_READ_TIMEOUT) require_relative "path_sanity" class Chef -- cgit v1.2.1