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

Commit 12b86c2

Browse files
committed
Debug ffi
1 parent b19bbd8 commit 12b86c2

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

spec/support/aruba_support.rb

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
module ArubaLoader
22
extend RSpec::Support::WithIsolatedStdErr
33
with_isolated_stderr do
4-
require 'aruba/api'
4+
begin
5+
require 'aruba/api'
6+
rescue NameError
7+
puts defined?(FFI)
8+
require 'ffi'
9+
puts defined?(FFI)
10+
require 'aruba/api'
11+
end
512
end
613
end
714

0 commit comments

Comments
 (0)