Skip to content

Commit 42657c6

Browse files
authored
Merge pull request #12 from brysgo/runephilosof-patch-1
`rails runner` instead of `rails c` Co-Authored-By: [email protected]
2 parents 3170c5c + 98f1090 commit 42657c6

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
@@ -155,7 +155,7 @@ if [ ! -z "$migrations" ]; then
155155

156156
# RUN THE MIGRATIONS (AND TEST PREPARE)
157157
{
158-
echo "$migrate_commands" | bundle exec rails c
158+
echo "$migrate_commands" | bundle exec rails runner /dev/stdin
159159
} > $out_target
160160

161161
# CLEAN UP DOWN MIGRATIONS

0 commit comments

Comments
 (0)