Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 8d8a7d4

Browse files
committed
Debug ffi
1 parent b19bbd8 commit 8d8a7d4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

spec/support/aruba_support.rb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
module ArubaLoader
22
extend RSpec::Support::WithIsolatedStdErr
33
with_isolated_stderr do
4-
require 'aruba/api'
4+
begin
5+
puts "FFI? #{defined?(FFI).inspect}"
6+
puts "require: #{require('ffi').inspect}"
7+
puts "Post require FFI? #{defined?(FFI).inspect}"
8+
require 'aruba/api'
9+
end
510
end
611
end
712

0 commit comments

Comments
 (0)