mirror of
https://github.com/internetee/registry.git
synced 2025-07-20 09:46:09 +02:00
Do not load the whole environment for rake tasks
This commit is contained in:
parent
ce1a5fd5f1
commit
030a036139
3 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
desc 'Bootstraps production-like environment'
|
||||
task :bootstrap do
|
||||
task bootstrap: :environment do
|
||||
AdminUser.create!(
|
||||
username: 'admin',
|
||||
email: 'admin@domain.tld',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue