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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • bson-4.2.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      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 Emily Stolfo
            Reporter:
            vo.x Vít Ondruch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: