"cannot load such file -- ffi_c" error in AWS Lambda ruby - Ruby version 2.5.0

Hello,
I am getting this error
“errorMessage”: “cannot load such file – ffi_c”,

In my aws ruby lambda when I try to require a gem that uses
gem ‘typhoeus’, ‘1.3.0’

Can anyone please suggest what am I missing. My ruby lambda handler starts with an warning

Ignoring ffi-1.15.3 because its extensions are not built. Try: gem pristine ffi --version 1.15.3
Any leads on this are much appreciated. Thanks