diff options
author | Go MAEDA <maeda@farend.jp> | 2022-11-03 03:51:15 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2022-11-03 03:51:15 +0000 |
commit | f90fd0d236eb35028122013e914076b94b119ad5 (patch) | |
tree | 7ed69d483637d80d41dff16cb31dbf38e855b9dd /Gemfile | |
parent | 693a8bae50c2c6f1848fa907a1fc841b4110f7e8 (diff) | |
download | redmine-f90fd0d236eb35028122013e914076b94b119ad5.tar.gz redmine-f90fd0d236eb35028122013e914076b94b119ad5.zip |
Limit mocha version to < 2.0.0 when Ruby version is < 2.7 to avoid test error "cannot load such file -- ruby2_keywords" (#37883).
Patch by Ko Nagase.
git-svn-id: https://svn.redmine.org/redmine/trunk@21945 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'Gemfile')
-rw-r--r-- | Gemfile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -93,7 +93,7 @@ end group :test do gem "rails-dom-testing" - gem 'mocha', '>= 1.4.0' + gem 'mocha', (Gem.ruby_version < Gem::Version.new('2.7.0') ? ['>= 1.4.0', '< 2.0.0'] : '>= 1.4.0') gem 'simplecov', '~> 0.21.2', :require => false gem "ffi", platforms: [:mingw, :x64_mingw, :mswin] # For running system tests |