Skip to content

Commit

Permalink
Fixed No such file or directory - /usr/src/app/bin/yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
damianlegawiec committed Dec 29, 2020
1 parent e01e003 commit 0f835be
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions core/lib/generators/spree/dummy/dummy_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,11 @@ def generate_test_dummy
opts[:skip_rc] = true
opts[:skip_spring] = true
opts[:skip_test] = true
opts[:skip_yarn] = true
opts[:skip_javascript] = true
#FIXME: https://github.com/rails/rails/issues/40795
if Rails::VERSION::STRING < '6.1'
opts[:skip_yarn] = true
opts[:skip_javascript] = true
end
opts[:skip_bootsnap] = true

puts 'Generating dummy Rails application...'
Expand Down

0 comments on commit 0f835be

Please sign in to comment.