Skip to content

Commit

Permalink
Merge pull request #3656 from alphagov/fix-bin-dev
Browse files Browse the repository at this point in the history
Fix bin/dev
  • Loading branch information
KludgeKML authored Feb 3, 2025
2 parents 6f35edd + d4372f7 commit fc5d5c0
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions bin/dev
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
#!/usr/bin/env ruby
exec "./bin/rails", "server", *ARGV
#!/usr/bin/env sh

if ! gem list foreman -i --silent; then
echo "Installing foreman..."
gem install foreman
fi

exec foreman start -f Procfile.dev "$@"

0 comments on commit fc5d5c0

Please sign in to comment.