From 1d2c4b0eee37b8c1fe4ffbfc6c5d8209125f2d82 Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 4 Feb 2019 16:11:19 +1100 Subject: [PATCH] DEV: we are waiting on an annotate gem release Once version 2.7.5 is released per: https://github.com/ctran/annotate_models/pull/595 we can drop this conditional. --- Gemfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index e23f400bcfd3e5..44384f31f02195 100644 --- a/Gemfile +++ b/Gemfile @@ -142,7 +142,13 @@ group :development do gem 'bullet', require: !!ENV['BULLET'] gem 'better_errors' gem 'binding_of_caller' - gem 'annotate' + + # waiting on 2.7.5 per: https://github.com/ctran/annotate_models/pull/595 + if rails_master? + gem 'annotate', git: 'https://github.com/ctran/annotate_models.git' + else + gem 'annotate' + end end # this is an optional gem, it provides a high performance replacement