Skip to content

Commit

Permalink
set factory_bot version as it caused errors with older versions of Ruby
Browse files Browse the repository at this point in the history
  • Loading branch information
zmariscal committed Feb 3, 2024
1 parent ada6837 commit cf0abcb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@ platforms :jruby do
end

# Support libs
gem "factory_bot"
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.0.0")
gem "factory_bot"
else
gem "factory_bot", "~> 6.2", "< 6.4.5"
end
gem "timecop"
gem "chronic"
gem "mocha", "~> 2.1.0"
Expand Down

0 comments on commit cf0abcb

Please sign in to comment.