Skip to content

Commit a67ecc1

Browse files
vysogotestolfo
authored andcommitted
Install webpacker before running the server (#871)
Fix the error: can't find config/webpack.yml
1 parent 26e4cf8 commit a67ecc1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

elasticsearch-rails/lib/rails/templates/01-basic.rb

+4
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,10 @@ def search
338338
git tag: "basic"
339339
git log: "--reverse --oneline"
340340

341+
# ----- Install Webpacker -------------------------------------------------------------------------
342+
343+
run 'rails webpacker:install'
344+
341345
# ----- Start the application ---------------------------------------------------------------------
342346

343347
unless ENV['RAILS_NO_SERVER_START']

0 commit comments

Comments
 (0)