Add yarn dependency installation to bin/update

This commit is contained in:
Eric Schultz 2020-10-09 12:57:37 -05:00 committed by Eric Schultz
parent 7fff630554
commit 90cbf042c3

View file

@ -16,9 +16,12 @@ chdir APP_ROOT do
# This script is a way to update your development environment automatically.
# Add necessary update steps to this file.
puts '== Installing dependencies =='
puts '== Installing dependencies (Ruby) =='
system! 'gem install bundler --conservative'
system('bundle check') || system!('bundle install')
puts "\n== Installing dependencies (JS) =="
system!('yarn -s')
puts "\n== Updating database =="
system! 'bin/rails db:migrate'