Pure ruby implementation should not be mentioned when native extension is not found

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • bson-4.2.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When the native extension is not found for some reasons, the library reports "BSON is using the pure Ruby implementation." and later fails, because it can't find ByteBuffer, which is provided only by the native extension. I think this line [1] should be either entirely dropped or adjusted ...

      https://github.com/mongodb/bson-ruby/blob/master/lib/bson.rb#L104

            Assignee:
            Emily Stolfo (Inactive)
            Reporter:
            Vít Ondruch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: