From 417542c8ed7d344ecc24b3ae40e303d478ad50d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Hern=C3=A1ndez?= Date: Wed, 27 Nov 2019 17:34:53 +0100 Subject: [PATCH] Install the version of Webpacker that is announced in the previous message. (#2380) --- lib/install/template.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/install/template.rb b/lib/install/template.rb index 3136dd9cf..697b3b5be 100644 --- a/lib/install/template.rb +++ b/lib/install/template.rb @@ -36,7 +36,7 @@ if Webpacker::VERSION =~ /^[0-9]+\.[0-9]+\.[0-9]+$/ say "Installing all JavaScript dependencies [#{Webpacker::VERSION}]" - run "yarn add @rails/webpacker" + run "yarn add @rails/webpacker@#{Webpacker::VERSION}" else say "Installing all JavaScript dependencies [from prerelease rails/webpacker]" run "yarn add @rails/webpacker@next"