From 49620fb2ff158f04baba4a73c61d5281226dfe03 Mon Sep 17 00:00:00 2001 From: Matt Muller Date: Wed, 31 Jul 2024 18:00:52 -0400 Subject: [PATCH] Fix rakefile --- Rakefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index ed93114..0d9ecbc 100644 --- a/Rakefile +++ b/Rakefile @@ -15,9 +15,8 @@ RuboCop::RakeTask.new RSpec::Core::RakeTask.new(:spec) task :db_migrate do - ENV['RAILS_ENV'] = 'test' Dir.chdir('spec/dummy') do - `rake db:migrate` + `RAILS_ENV=test rake -I ../../lib db:migrate` end end