Add missing require for zlib

Zlib is used to generate the advisory lock since commit 2c2a875546 .

Using the Migrator fails since then, when it is called without the rails context:

    NameError: uninitialized constant ActiveRecord::Migrator::Zlib

This patch fixes the above error.
This commit is contained in:
Lars Kanis 2016-10-01 16:29:22 +02:00 committed by GitHub
parent 58cabed38e
commit c16a70a4e6
1 changed files with 1 additions and 0 deletions

View File

@ -1,4 +1,5 @@
require "set"
require "zlib"
require "active_support/core_ext/module/attribute_accessors"
require "active_support/core_ext/regexp"