-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathGemfile
39 lines (29 loc) · 1.12 KB
/
Gemfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# frozen_string_literal: true
source "https://rubygems.org"
plugin "bundler-multilock", "1.3.4"
return unless Plugin.installed?("bundler-multilock")
Plugin.send(:load_plugin, "bundler-multilock")
gemspec
gem "zeitwerk", "< 2.7.0" # force a version still compatible with Ruby 2.7
ruby27 = Gem::Requirement.new("~> 2.7.0").satisfied_by?(Gem::Version.new(RUBY_VERSION))
ruby30or31 = Gem::Requirement.new(">= 3.0.0", "< 3.2.0").satisfied_by?(Gem::Version.new(RUBY_VERSION))
lockfile "rails-7.0" do
gem "activerecord", "~> 7.0.0"
gem "nokogiri", "< 1.16.0" # force a version still compatible with Ruby 2.7
gem "railties", "~> 7.0.0"
end
lockfile "rails-7.1", default: ruby27 do
gem "activerecord", "~> 7.1.0"
gem "nokogiri", "< 1.16.0" # force a version still compatible with Ruby 2.7
gem "railties", "~> 7.1.0"
end
lockfile "rails-7.2", default: ruby30or31 do
gem "activerecord", "~> 7.2.0"
gem "railties", "~> 7.2.0"
end
lockfile do
gem "activerecord", "~> 8.0.0"
# satisfy bundler-multilock that yes, indeed, we want nokogiri to differ between the lockfiles
gem "nokogiri", ">= 1.16.0"
gem "railties", "~> 8.0.0"
end