Skip to content

Commit 38a812c

Browse files
committed
test: Install older version of bson for JRuby
At this time, bson 5.1.0 is not compatible with JRuby. However, older versions are compatible. Install the latest version below the incompatible one.
1 parent 62e4b1c commit 38a812c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

instrumentation/mongo/Appraisals

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,9 @@
66

77
appraise 'mongo-2' do
88
gem 'mongo', '~> 2.13'
9+
10+
# TODO: bson 5.1.0 isn't compatible with JRuby at this time
11+
if defined?(JRUBY_VERSION)
12+
gem 'bson', '< 5.1.0'
13+
end
914
end

0 commit comments

Comments
 (0)