From 0f889e1d7f755234f8f2adf8898ec49e9d3d9d6e Mon Sep 17 00:00:00 2001 From: "karel.picman@lbcfree.net" Date: Wed, 10 Feb 2021 17:02:36 +0100 Subject: [PATCH] Wrap the extra sources in a block --- Gemfile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Gemfile b/Gemfile index 03396fb..9745bdc 100644 --- a/Gemfile +++ b/Gemfile @@ -19,10 +19,12 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -gem 'acts_as_list' -gem 'activemodel-serializers-xml' +source 'https://rubygems.org' do + gem 'acts_as_list' + gem 'activemodel-serializers-xml' -# Redmine extensions -unless %w(easyproject easy_gantt).any? { |plugin| Dir.exist?(File.expand_path("../../#{plugin}", __FILE__)) } - gem 'redmine_extensions', '~> 0.3.9' + # Redmine extensions + unless %w(easyproject easy_gantt).any? { |plugin| Dir.exist?(File.expand_path("../../#{plugin}", __FILE__)) } + gem 'redmine_extensions', '~> 0.3.9' + end end