From 702520eeb97a029f8908595e14b11e2dda447b0e Mon Sep 17 00:00:00 2001 From: Alexander Meindl Date: Sat, 7 Oct 2017 09:25:59 +0200 Subject: [PATCH] Fix pry load --- lib/additionals.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/additionals.rb b/lib/additionals.rb index 32856c44..6f763e87 100644 --- a/lib/additionals.rb +++ b/lib/additionals.rb @@ -59,7 +59,7 @@ end if ActiveRecord::Base.connection.table_exists?(:settings) Rails.configuration.to_prepare do - require 'pry' unless ENV['ENABLE_DEBUG'] + require 'pry' if ENV['ENABLE_DEBUG'] Additionals.incompatible_plugins(%w[redmine_tweaks common_libraries redmine_editauthor redmine_changeauthor redmine_auto_watch]) Additionals.patch(%w[AccountController Issue