Skip to content

Commit

Permalink
Latest mongoid only supports Ruby >= 2.5 (#912)
Browse files Browse the repository at this point in the history
  • Loading branch information
y-yagi authored Dec 16, 2021
1 parent 43a6e34 commit 26a18c8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,9 @@ if RUBY_VERSION >= "2.5.0"
else
gem "rails", "~> 5.0"
end
gem "mongoid", github: "mongodb/mongoid"

if RUBY_VERSION >= "2.5.0"
gem "mongoid", github: "mongodb/mongoid"
else
gem "mongoid", "~> 7.2"
end

0 comments on commit 26a18c8

Please sign in to comment.