From 8d80f980ca4f7778a2a62fdc05ad1ca36b6643ce Mon Sep 17 00:00:00 2001 From: Ikraam Date: Fri, 6 Nov 2020 18:31:49 +0200 Subject: [PATCH] Install solidus without javascript compilers (webpacker) As taken from edge guides: solidusio/edgeguides#12 Using --skip-webpack-install is only preventing the Rails install generator from running webacker:install, but the webpacker gem is still added to the Gemfile causing an error when starting the server: 'Webpacker configuration file not found' In the context of a fresh app that uses the bare minimum set of tools to run Solidus we don't need that. People can still add it later if needed. Co-authored-by: Alberto Vena --- .../getting-started/first-time-installation.html.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/guides/source/developers/getting-started/first-time-installation.html.md b/guides/source/developers/getting-started/first-time-installation.html.md index d6ebe76dbd7..ba52777db87 100644 --- a/guides/source/developers/getting-started/first-time-installation.html.md +++ b/guides/source/developers/getting-started/first-time-installation.html.md @@ -57,12 +57,13 @@ You can find more details on Solidus' dependencies in the First, we need a new Rails project: ```bash -rails new your_solidus_project_name --skip_webpack_install +rails new your_solidus_project_name --skip-javascript ``` This command will create a new Rails application without installing -[webpacker][webpacker], which is not required for a sample Solidus store. You -are free to install and configure webpacker in your Solidus store though. +the JavaScript compiler shipped with Rails by default ([webpacker][webpacker]), +which is not required for a sample Solidus store. +You are still free to install and configure it in your Solidus store though. Once the new project has finished being created, we can open the project's newly created `Gemfile` in a text editor and add the required Solidus gems as new