polluted Ruby's $LOAD_PATH

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.5.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
              Kyle Banker (Inactive)
              Reporter:
              Vít Ondruch
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: