Skip to content

Commit 524eb29

Browse files
committed
fix responders install for ruby 2.3 again
1 parent a32ca23 commit 524eb29

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Gemfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,14 @@ gem 'yard', require: false
1818

1919
gem 'activeadmin', ENV.fetch('ACTIVE_ADMIN_VERSION', '~> 2.0'), require: false
2020
gem 'rails', ENV.fetch('RAILS_VERSION', '6.0.0')
21+
2122
# responders 3 drops ruby 2.3 support
22-
gem 'responders', '~> 2.4', platforms: :ruby_23
23+
if RUBY_VERSION =~ /^2\.3/
24+
gem 'responders', '~> 2.4'
25+
else
26+
gem 'responders' # rubocop:disable Bundler/DuplicatedGem
27+
end
28+
2329
gem 'sassc-rails', '2.1.2'
2430
gem 'sprockets', '3.7.2'
2531
gem 'sqlite3', '1.4.1'

0 commit comments

Comments
 (0)