Move bundle installation to entrypoint script
Makes it one step less you have to do in the dev-env setup.
This commit is contained in:
parent
f69bb18e79
commit
a452257b9a
3 changed files with 18 additions and 25 deletions
|
|
@ -1,3 +1,9 @@
|
|||
#!/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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue