diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 01bdc94..8e86026 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,16 +15,16 @@ jobs: gemfile: gemfiles/rails_5_1.gemfile - ruby: "2.5" gemfile: gemfiles/rails_5_2.gemfile - # - ruby: "2.5" - # gemfile: gemfiles/rails_6_0.gemfile - # - ruby: "2.5" - # gemfile: gemfiles/rails_6_1.gemfile + - ruby: "2.5" + gemfile: gemfiles/rails_6_0.gemfile + - ruby: "2.5" + gemfile: gemfiles/rails_6_1.gemfile - ruby: "2.6" gemfile: gemfiles/rails_5_2.gemfile - # - ruby: "2.6" - # gemfile: gemfiles/rails_6_0.gemfile - # - ruby: "2.6" - # gemfile: gemfiles/rails_6_1.gemfile + - ruby: "2.6" + gemfile: gemfiles/rails_6_0.gemfile + - ruby: "2.6" + gemfile: gemfiles/rails_6_1.gemfile - ruby: "2.7" gemfile: gemfiles/rails_5_1.gemfile - ruby: "2.7" diff --git a/CHANGELOG.md b/CHANGELOG.md index e9409f5..3114c37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - Repair tests, support ruby-statistics in ruby < 3.0 (https://github.com/zombocom/derailed_benchmarks/pull/241) - Test Rails 7.1 and 7.2 (https://github.com/zombocom/derailed_benchmarks/pull/242) - Switch from dead_end to syntax_suggest (https://github.com/zombocom/derailed_benchmarks/pull/243) +- require `ruby2_keywords` so drb doesn't break in ruby < 2.7 (https://github.com/zombocom/derailed_benchmarks/pull/244) ## 2.1.2 diff --git a/test/test_helper.rb b/test/test_helper.rb index 0aaba72..69bd40d 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -6,6 +6,9 @@ # Configure Rails Envinronment ENV["RAILS_ENV"] = "test" + +require "ruby2_keywords" if RUBY_VERSION < "2.7" + require 'rails' require 'rails/test_help'