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

polluted Ruby's $LOAD_PATH

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

      Hello,

      The line [1] in BSon library seems to be superfluous and just pollutes Ruby's $LOAD_PATH:

      /usr/local/share/gems/gems/bson-1.5.1/lib/../lib
      /usr/local/share/gems/gems/bson-1.5.1/lib
      

      The Mongo library seems to suffer the same issue [2].

      [1] https://github.com/mongodb/mongo-ruby-driver/blob/master/lib/bson.rb#L19
      [2] https://github.com/mongodb/mongo-ruby-driver/blob/master/lib/mongo.rb#L19

            Assignee:
            kbanker Kyle Banker
            Reporter:
            vo.x Vít Ondruch
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: