Unverified Commit 2ede7e3e authored by paz's avatar paz
Browse files

Enable using AR's tasks.

This also fixes the strange error about "default_env" when repeatedly
running `rake db:init`
parent 8bc924af
Pipeline #60026 passed with stages
in 3 minutes and 35 seconds
......@@ -7,6 +7,9 @@ require_relative "lib/#{project}.rb"
@filename_gem = "#{@tagname}.gem"
@filename_tarball = "#{@tagname}.tar.gz"
# Make ActiveRecord's tasks usable for us (without this, those tasks try to run
# in the "default_env" environment, which is not configured).
load 'active_record/railties/databases.rake'
# Configure ActiveRecord
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment