Skip to content
Snippets Groups Projects
Commit 23eea5c5 authored by Joël Quenneville's avatar Joël Quenneville Committed by Eugen
Browse files

Install Yarn dependencies during setup (#1169)

Previously the `bin/setup` script only installed the Ruby dependencies
via Bundler. This is not sufficient to get the test suite to pass. We
also need the JavaScript dependencies.

This commit installs the JavaScript dependencies as part of the
`bin/setup` script via Yarn.

This allows for a successful

    bin/setup && bundle exec rake

on a fresh clone of the repo.
parent 35bdacba
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,7 @@ chdir APP_ROOT do
puts '== Installing dependencies =='
system! 'gem install bundler --conservative'
system('bundle check') || system!('bundle install')
system!('yarn install')
# puts "\n== Copying sample files =="
# unless File.exist?('config/database.yml')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment