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

Test jruby against bson master

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.12.0.rc0
    • Affects Version/s: None
    • Component/s: Tests
    • None
    • Fully Compatible

      Due to https://github.com/rubygems/bundler/issues/6678 we are currently not testing the driver and Mongoid against bson master. Occasionally this causes a problem when multiple bson releases are required to fix regressions that only manifest on jruby, such as those in the 4.8 series of bson releases.

      There appears to be a way of testing against bson master by manually building and installing bson as described in https://github.com/jruby/jruby/issues/5292#issuecomment-594250674:

      
          Clone bson-ruby
          bundle install
          rake compile
          gem build *.gemspec
          gem install *.gem
      

      This should work if we bump the version in master immediately prior to release, i.e. master claims to be the same version as most recent release. (The other scenarios might also work but could have issues.)

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: