Skip to content

Commit 05b8ff9

Browse files
committed
Downgrade active_support on Ruby 2.3
1 parent dfed7ab commit 05b8ff9

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Gemfile-rails-dependencies

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,16 @@ when nil, false, ""
3232
gem 'activerecord-jdbcsqlite3-adapter', platforms: [:jruby]
3333
gem 'selenium-webdriver', require: false
3434
else
35-
add_net_gems_dependency if version.split(' ').last < '7.0'
35+
rails_version = version.split(' ').last
36+
37+
add_net_gems_dependency if rails_version < '7.0'
38+
3639
gem "rails", version
40+
41+
if rails_version < '6.0' && RUBY_VERSION < '2.3'
42+
gem "activesupport", "~> 5.2", "!= 5.2.6.2"
43+
end
44+
3745
gem "sprockets", '~> 3.0' if RUBY_VERSION < '2.5'
3846
gem "puma"
3947
gem 'activerecord-jdbcsqlite3-adapter', platforms: [:jruby]

0 commit comments

Comments
 (0)