From 9dbdb769bfd963f82eb4bfea53c83501d0193766 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Mon, 20 May 2019 18:05:36 -0700 Subject: This hits the ones that are most frequently required. Stops the kernel from scanning through all the activated gems every time in order to resolve names into pathnames. See rubygems/rubygems#2762 Signed-off-by: Lamont Granquist --- lib/chef/powershell.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/chef/powershell.rb') diff --git a/lib/chef/powershell.rb b/lib/chef/powershell.rb index c6d8369943..3fe58b254b 100644 --- a/lib/chef/powershell.rb +++ b/lib/chef/powershell.rb @@ -15,7 +15,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -require "ffi" +require "ffi" unless defined?(FFI) require_relative "json_compat" class Chef -- cgit v1.2.1