Skip to content

Instantly share code, notes, and snippets.

@eduardosasso
Created February 28, 2018 19:45
Show Gist options
  • Save eduardosasso/7f0d06ac3cc9efe44b9c079adc9d75f5 to your computer and use it in GitHub Desktop.
Save eduardosasso/7f0d06ac3cc9efe44b9c079adc9d75f5 to your computer and use it in GitHub Desktop.
#!/bin/bash
bundle check || bundle install --jobs 20 --retry 5 --system --binstubs="$BUNDLE_BIN"
if [ -f tmp/pids/server.pid ]; then
rm -f tmp/pids/server.pid
fi
bundle exec foreman start -f procfile_docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment