Skip to content

Commit ad8714f

Browse files
committed
Use rails runner instead of console
1 parent 02737a2 commit ad8714f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/git_rails

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ if [ ! -z "$migrations" ]; then
153153

154154
# RUN THE MIGRATIONS (AND TEST PREPARE)
155155
{
156-
echo "$migrate_commands" | bundle exec rails c
156+
echo "$migrate_commands" | bundle exec rails runner /dev/stdin
157157
} > $out_target
158158

159159
# CLEAN UP DOWN MIGRATIONS

0 commit comments

Comments
 (0)