Skip to content

Commit 2a4b664

Browse files
authored
Merge pull request #1532 from sebbASF/patch-5
Make activesupport gem optional
2 parents 03a164f + 3b178df commit 2a4b664

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Gemfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@ source 'https://rubygems.org'
22

33
gemspec
44

5-
if RUBY_VERSION < '2.7.0'
6-
gem 'activesupport', '< 6'
7-
else
8-
gem 'activesupport', :git => 'https://github.com/rails/rails', :branch => 'main'
5+
if ENV['MBCHARS'] # see spec/environment.rb
6+
if RUBY_VERSION < '2.7.0'
7+
gem 'activesupport', '< 6'
8+
else
9+
gem 'activesupport', :git => 'https://github.com/rails/rails', :branch => 'main'
10+
end
911
end
1012

1113
gem 'jruby-openssl', :platforms => :jruby

0 commit comments

Comments
 (0)