From f0ea92a3b3a7ba2ece1aeaa27c0c63461bcad2e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Pi=C4=8Dman?= Date: Fri, 21 Dec 2018 08:47:54 +0100 Subject: [PATCH] Travis CI --- Gemfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index 1aadbb9..60c65b6 100644 --- a/Gemfile +++ b/Gemfile @@ -23,7 +23,7 @@ source 'https://rubygems.org' require 'rails' -if Gem::Version.new(Rails.gem_version) >= Gem::Version.new('5.0.0') - gem 'acts_as_list' - gem 'activemodel-serializers-xml' -end \ No newline at end of file +# In order to the plugin in Redmine < 4 (Rails < 5), comment out the following lines +# I don't know how to check Redmine or better Rails version here :-( +gem 'acts_as_list' +gem 'activemodel-serializers-xml'