Skip to content

Commit

Permalink
Merge pull request #219 from marcoroth/unify-dev-script
Browse files Browse the repository at this point in the history
Unify `bin/dev` script with other js/css installers
  • Loading branch information
rafaelfranca authored Nov 7, 2022
2 parents a5bbf6e + 7612630 commit 203a01c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions lib/install/dev
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#!/usr/bin/env bash
#!/usr/bin/env sh

if ! command -v foreman &> /dev/null
then
if ! gem list foreman -i --silent; then
echo "Installing foreman..."
gem install foreman
fi

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

0 comments on commit 203a01c

Please sign in to comment.