Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-3252

Show user friendly error if ffi is not installed

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.19.0, 2.18.3
    • Affects Version/s: None
    • Component/s: None
    • None

      Using CSFLE with the Ruby driver requires ffi gem. It is not specified as a dependency of the driver since most of our users do not use FLE. Right now the driver fails with the following error if ffi is not installed, and a user tries to do FLE operations:

      LoadError: cannot load such file -- ffi
      

      We need to log a proper warning in this case, including a clear explanation what happened and how to add ffi gem to the project.

            Assignee:
            dmitry.rybakov@mongodb.com Dmitry Rybakov
            Reporter:
            dmitry.rybakov@mongodb.com Dmitry Rybakov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: