Fix bootstrap task that does not load the environment

This commit is contained in:
Maciej Szlosarczyk 2018-10-24 09:12:41 +03:00
parent 910753b076
commit 3d78128c76
No known key found for this signature in database
GPG key ID: 41D62D42D3B0D765
3 changed files with 8 additions and 8 deletions

View file

@ -1,6 +1,6 @@
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
require File.expand_path('../config/application', __FILE__)
require File.expand_path('../config/environment', __FILE__)
Rails.application.load_tasks