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

gemspec files not compatible with bundler

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 12_01_17
    • Component/s: None
    • Labels:
      None
    • Environment:
      MacOS 10.6, REE 1.8.7, rubygems 1.3.5, bundler 0.9.3, mongo 0.18.2
    • # Replies:
      5
    • Last comment by Customer:
      true

      Description

      When trying to start up a newly created Rails 3 (beta) application, I get an error with the mongo gem loaded on the system.

      It appears the bundler gem is scanning the *.gemspec files in the system gems and evaluating the Gem::Specification therein. When it gets to mongo and mongo_ext there is code that assumes mongo is is in the load path (requre 'lib/mongo') and how the file is being loaded (VERSION_HEADER = File.open(File.join(File.dirname(_FILE_), 'ext', 'cbson', 'version.h'), "r")).

      I don't think this necessarily goes against Gem specification, but mongo is the only gem that I have seen that programatically specifies attributes in the gemspec versus having them generated via a rake task.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                5 years, 15 weeks, 6 days ago
                Date of 1st Reply: