We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc6b3f1 commit 685eb1cCopy full SHA for 685eb1c
bin/git_rails
@@ -49,7 +49,8 @@ if [ ! -z "$migrations" ]; then
49
done
50
51
# RUN THE MIGRATIONS (AND TEST PREPARE)
52
- migrate_commands="$migrate_commandsRake::Task['db:test:prepare'].invoke"
+ test_prepare="require 'rake';Rails.application.load_tasks;Rake::Task['db:test:prepare'].invoke"
53
+ migrate_commands="$migrate_commands$test_prepare"
54
echo "$migrate_commands" | bundle exec rails c > /dev/null
55
56
# CLEAN UP DOWN MIGRATIONS
0 commit comments