Skip to content

Commit

Permalink
Debug ffi
Browse files Browse the repository at this point in the history
  • Loading branch information
JonRowe committed Dec 6, 2020
1 parent b19bbd8 commit 8d8a7d4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion spec/support/aruba_support.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
module ArubaLoader
extend RSpec::Support::WithIsolatedStdErr
with_isolated_stderr do
require 'aruba/api'
begin
puts "FFI? #{defined?(FFI).inspect}"
puts "require: #{require('ffi').inspect}"
puts "Post require FFI? #{defined?(FFI).inspect}"
require 'aruba/api'
end
end
end

Expand Down

0 comments on commit 8d8a7d4

Please sign in to comment.