On FreeBSD 10.0, but not earlier versions, rubygem-ffi cannot load libc.so. This bug is known upstream but not yet fixed. The easiest way to demonstrate it is to cd to the ports directory and do "cd work/ffi-1.9.3; rake test".
Full details of the bug are at this link:
Fix: A patch (attached) is at this link:
Patch attached with submission follows:
How-To-Repeat: "cd work/ffi-1.9.3; rake test"
Over to maintainer (via the GNATS Auto Assign Tool)
A commit references this bug:
Date: Sat Aug 23 14:08:11 UTC 2014
New revision: 365736
devel/rubygem-ffi: Fix loading libc on 10.x and newer
Submitted by: asomers
Obtained from: https://github.com/Carpetsmoker/ffi/commit/ac63e07f76ed65e4ad8865ef1804ce6e7a333d19
Fix committed, thanks for the report!