osem-fcy/bin/osem-init.sh
Henne Vogelsang a452257b9a
Move bundle installation to entrypoint script
Makes it one step less you have to do in the dev-env setup.
2018-09-12 21:20:30 +02:00

9 lines
267 B
Bash
Executable file

#!/bin/bash
# Configure our bundle
export NOKOGIRI_USE_SYSTEM_LIBRARIES=1
# Install our bundle if it's outdated
bundle check || bundle install --jobs=3 --retry=3
# Setup the app if it isn't already setup
bundle exec rake setup:bootstrap
# Start the app
foreman start