From 2688b5f64f1269f17ff2f606c216942bcb721c2a Mon Sep 17 00:00:00 2001 From: andreyazimov Date: Wed, 8 Sep 2021 15:21:00 +0700 Subject: [PATCH 01/18] added bootstrap option to install.rake --- lib/tasks/cssbundling/install.rake | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/tasks/cssbundling/install.rake b/lib/tasks/cssbundling/install.rake index 3031cc1..dd68975 100644 --- a/lib/tasks/cssbundling/install.rake +++ b/lib/tasks/cssbundling/install.rake @@ -19,5 +19,10 @@ namespace :css do task sass: "css:install:shared" do system "#{RbConfig.ruby} ./bin/rails app:template LOCATION=#{File.expand_path("../../install/sass/install.rb", __dir__)}" end + + desc "Install Bootstrap" + task sass: "css:install:shared" do + system "#{RbConfig.ruby} ./bin/rails app:template LOCATION=#{File.expand_path("../../install/bootstrap/install.rb", __dir__)}" + end end end From 26768160b697041454716b3143b6769565bd79f2 Mon Sep 17 00:00:00 2001 From: andreyazimov Date: Wed, 8 Sep 2021 15:21:25 +0700 Subject: [PATCH 02/18] fixed typos in install.rake --- lib/tasks/cssbundling/install.rake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/tasks/cssbundling/install.rake b/lib/tasks/cssbundling/install.rake index dd68975..31209d2 100644 --- a/lib/tasks/cssbundling/install.rake +++ b/lib/tasks/cssbundling/install.rake @@ -21,8 +21,9 @@ namespace :css do end desc "Install Bootstrap" - task sass: "css:install:shared" do + task bootstrap: "css:install:shared" do system "#{RbConfig.ruby} ./bin/rails app:template LOCATION=#{File.expand_path("../../install/bootstrap/install.rb", __dir__)}" end + end end From 76e35e558840e68fc63d2bca03a46c76c8af34b1 Mon Sep 17 00:00:00 2001 From: andreyazimov Date: Wed, 8 Sep 2021 15:30:41 +0700 Subject: [PATCH 03/18] added bootstrap folder with install.rb --- lib/install/bootstrap/application.scss | 1 + lib/install/bootstrap/bootstrap_js_files.js | 11 +++++++++++ lib/install/bootstrap/install.rb | 10 ++++++++++ 3 files changed, 22 insertions(+) create mode 100644 lib/install/bootstrap/application.scss create mode 100644 lib/install/bootstrap/bootstrap_js_files.js create mode 100644 lib/install/bootstrap/install.rb diff --git a/lib/install/bootstrap/application.scss b/lib/install/bootstrap/application.scss new file mode 100644 index 0000000..93c4b1c --- /dev/null +++ b/lib/install/bootstrap/application.scss @@ -0,0 +1 @@ +@import "~bootstrap/scss/bootstrap"; \ No newline at end of file diff --git a/lib/install/bootstrap/bootstrap_js_files.js b/lib/install/bootstrap/bootstrap_js_files.js new file mode 100644 index 0000000..3794e90 --- /dev/null +++ b/lib/install/bootstrap/bootstrap_js_files.js @@ -0,0 +1,11 @@ +import 'bootstrap/js/src/carousel' +import 'bootstrap/js/src/collapse' +import 'bootstrap/js/src/dropdown' +import 'bootstrap/js/src/modal' +import 'bootstrap/js/src/scrollspy' +// import 'bootstrap/js/src/alert' +// import 'bootstrap/js/src/button' +// import 'bootstrap/js/src/popover' +// import 'bootstrap/js/src/tab' +// import 'bootstrap/js/src/toast' +// import 'bootstrap/js/src/tooltip' \ No newline at end of file diff --git a/lib/install/bootstrap/install.rb b/lib/install/bootstrap/install.rb new file mode 100644 index 0000000..b974bda --- /dev/null +++ b/lib/install/bootstrap/install.rb @@ -0,0 +1,10 @@ +say "Install Bootstrap 5 with Popperjs" +copy_file "#{__dir__}/bootstrap_js_files.js", "bootstrap_js_files.js" +copy_file "#{__dir__}/application.scss", "app/assets/stylesheets/application.scss" + +run "yarn add bootstrap@5.0.0-beta2" +run "yarn add @popperjs/core@2.0.0-alpha.1" + +# todo fix: +# say "Add build:css script" +# run %(npm set-script build:css "tailwindcss -i ./app/assets/stylesheets/application.tailwind.css -o ./app/assets/builds/application.css") From 7d0d848e809d1828610e4efeecaf2de540947dbc Mon Sep 17 00:00:00 2001 From: andreyazimov Date: Wed, 8 Sep 2021 16:13:54 +0700 Subject: [PATCH 04/18] added npm watch to boostrap install.rb --- lib/install/bootstrap/install.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/install/bootstrap/install.rb b/lib/install/bootstrap/install.rb index b974bda..9c3be2b 100644 --- a/lib/install/bootstrap/install.rb +++ b/lib/install/bootstrap/install.rb @@ -5,6 +5,4 @@ run "yarn add bootstrap@5.0.0-beta2" run "yarn add @popperjs/core@2.0.0-alpha.1" -# todo fix: -# say "Add build:css script" -# run %(npm set-script build:css "tailwindcss -i ./app/assets/stylesheets/application.tailwind.css -o ./app/assets/builds/application.css") +run %(npm set-script build:css "sass ./app/assets/stylesheets/application.scss ./app/assets/builds/application.css --no-source-map") From b451f5d8e4b162af2b67e0b0aded872aa84b89a7 Mon Sep 17 00:00:00 2001 From: andreyazimov Date: Wed, 8 Sep 2021 16:18:37 +0700 Subject: [PATCH 05/18] changed version of bootstrap to 5.1.1 and Popperjs/core to 2.10.1 --- lib/install/bootstrap/install.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/install/bootstrap/install.rb b/lib/install/bootstrap/install.rb index 9c3be2b..3e634b5 100644 --- a/lib/install/bootstrap/install.rb +++ b/lib/install/bootstrap/install.rb @@ -1,8 +1,8 @@ -say "Install Bootstrap 5 with Popperjs" +say "Install Bootstrap 5 with Popperjs/core" copy_file "#{__dir__}/bootstrap_js_files.js", "bootstrap_js_files.js" copy_file "#{__dir__}/application.scss", "app/assets/stylesheets/application.scss" -run "yarn add bootstrap@5.0.0-beta2" -run "yarn add @popperjs/core@2.0.0-alpha.1" +run "yarn add bootstrap@5.1.1" +run "yarn add @popperjs/core@2.10.1" run %(npm set-script build:css "sass ./app/assets/stylesheets/application.scss ./app/assets/builds/application.css --no-source-map") From b71d4b2f06fc3ef55edcfc776b9a48d15d43e0e5 Mon Sep 17 00:00:00 2001 From: andreyazimov Date: Thu, 9 Sep 2021 12:45:40 +0700 Subject: [PATCH 06/18] chanaged bootstrap and popper spefic version to @latest so it will be always up to date --- lib/install/bootstrap/install.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/install/bootstrap/install.rb b/lib/install/bootstrap/install.rb index 3e634b5..aa7e1c6 100644 --- a/lib/install/bootstrap/install.rb +++ b/lib/install/bootstrap/install.rb @@ -1,8 +1,8 @@ -say "Install Bootstrap 5 with Popperjs/core" +say "Install Bootstrap with Popperjs/core" copy_file "#{__dir__}/bootstrap_js_files.js", "bootstrap_js_files.js" copy_file "#{__dir__}/application.scss", "app/assets/stylesheets/application.scss" -run "yarn add bootstrap@5.1.1" -run "yarn add @popperjs/core@2.10.1" +run "yarn add bootstrap@latest" +run "yarn add @popperjs/core@latest" run %(npm set-script build:css "sass ./app/assets/stylesheets/application.scss ./app/assets/builds/application.css --no-source-map") From 2a6589ba6c15ccae54dcddee4a3fde7aff804476 Mon Sep 17 00:00:00 2001 From: andreyazimov Date: Thu, 9 Sep 2021 12:46:36 +0700 Subject: [PATCH 07/18] renamed bootstrap_js_files.js to bootstrap.js --- lib/install/bootstrap/bootstrap.js | 11 +++++++++++ lib/install/bootstrap/install.rb | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 lib/install/bootstrap/bootstrap.js diff --git a/lib/install/bootstrap/bootstrap.js b/lib/install/bootstrap/bootstrap.js new file mode 100644 index 0000000..3794e90 --- /dev/null +++ b/lib/install/bootstrap/bootstrap.js @@ -0,0 +1,11 @@ +import 'bootstrap/js/src/carousel' +import 'bootstrap/js/src/collapse' +import 'bootstrap/js/src/dropdown' +import 'bootstrap/js/src/modal' +import 'bootstrap/js/src/scrollspy' +// import 'bootstrap/js/src/alert' +// import 'bootstrap/js/src/button' +// import 'bootstrap/js/src/popover' +// import 'bootstrap/js/src/tab' +// import 'bootstrap/js/src/toast' +// import 'bootstrap/js/src/tooltip' \ No newline at end of file diff --git a/lib/install/bootstrap/install.rb b/lib/install/bootstrap/install.rb index aa7e1c6..a965051 100644 --- a/lib/install/bootstrap/install.rb +++ b/lib/install/bootstrap/install.rb @@ -1,5 +1,5 @@ say "Install Bootstrap with Popperjs/core" -copy_file "#{__dir__}/bootstrap_js_files.js", "bootstrap_js_files.js" +copy_file "#{__dir__}/bootstrap_js_files.js", "bootstrap.js" copy_file "#{__dir__}/application.scss", "app/assets/stylesheets/application.scss" run "yarn add bootstrap@latest" From 58dd84f7b1def9e7b32a70c070fc3028cfc2439a Mon Sep 17 00:00:00 2001 From: andreyazimov Date: Thu, 9 Sep 2021 12:46:47 +0700 Subject: [PATCH 08/18] deleted bootstrap_js_files.js --- lib/install/bootstrap/bootstrap_js_files.js | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 lib/install/bootstrap/bootstrap_js_files.js diff --git a/lib/install/bootstrap/bootstrap_js_files.js b/lib/install/bootstrap/bootstrap_js_files.js deleted file mode 100644 index 3794e90..0000000 --- a/lib/install/bootstrap/bootstrap_js_files.js +++ /dev/null @@ -1,11 +0,0 @@ -import 'bootstrap/js/src/carousel' -import 'bootstrap/js/src/collapse' -import 'bootstrap/js/src/dropdown' -import 'bootstrap/js/src/modal' -import 'bootstrap/js/src/scrollspy' -// import 'bootstrap/js/src/alert' -// import 'bootstrap/js/src/button' -// import 'bootstrap/js/src/popover' -// import 'bootstrap/js/src/tab' -// import 'bootstrap/js/src/toast' -// import 'bootstrap/js/src/tooltip' \ No newline at end of file From ec38498bca1e9c3b68c47449f1352bc3aec250f1 Mon Sep 17 00:00:00 2001 From: andreyazimov Date: Thu, 9 Sep 2021 12:51:12 +0700 Subject: [PATCH 09/18] Added Bootstrap to readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 175b6c6..dc6d120 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # CSS Bundling for Rails -Use [Tailwind CSS](https://tailwindcss.com), [PostCSS](https://postcss.org), or [Dart Sass](https://sass-lang.com/) to bundle and process your CSS, then deliver it via the asset pipeline in Rails. This gem provides installers to get you going with the bundler of your choice in a new Rails application, and a convention to use `app/assets/builds` to hold your bundled output as artifacts that are not checked into source control (the installer adds this directory to `.gitignore` by default). +Use [Tailwind CSS](https://tailwindcss.com), [PostCSS](https://postcss.org), [Dart Sass](https://sass-lang.com/), or [Bootstrap](https://getbootstrap.com/) to bundle and process your CSS, then deliver it via the asset pipeline in Rails. This gem provides installers to get you going with the bundler of your choice in a new Rails application, and a convention to use `app/assets/builds` to hold your bundled output as artifacts that are not checked into source control (the installer adds this directory to `.gitignore` by default). You develop using this approach by running the bundler in watch mode in a terminal with `yarn build:css --watch` (and your Rails server in another, if you're not using something like [puma-dev](https://github.com/puma/puma-dev)). Whenever the bundler detects changes to any of the stylesheet files in your project, it'll bundle `app/assets/stylesheets/application.[bundler].css` into `app/assets/builds/application.css`. This build output takes over from the regular asset pipeline default file. So you continue to refer to the build output in your layout using the standard asset pipeline approach with `<%= stylesheet_include_tag "application" %>`. @@ -19,9 +19,9 @@ You must already have node and yarn installed on your system. Then: 1. Add `cssbundling-rails` to your Gemfile with `gem 'cssbundling-rails'` 2. Run `./bin/bundle install` -3. Run `./bin/rails css:install:[tailwind|postcss|sass]` +3. Run `./bin/rails css:install:[tailwind|postcss|sass|bootstrap]` -Or, in Rails 7+, you can preconfigure your new application to use a specific bundler with `rails new myapp --css [tailwind|postcss|sass]`. +Or, in Rails 7+, you can preconfigure your new application to use a specific bundler with `rails new myapp --css [tailwind|postcss|sass|bootstrap]`. ## License From 1177780cbda4c0ef8b8d9b999480ef08f6fa0dd1 Mon Sep 17 00:00:00 2001 From: andreyazimov Date: Thu, 9 Sep 2021 16:00:17 +0700 Subject: [PATCH 10/18] fixed typo --- lib/install/bootstrap/install.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/install/bootstrap/install.rb b/lib/install/bootstrap/install.rb index a965051..3abe1c7 100644 --- a/lib/install/bootstrap/install.rb +++ b/lib/install/bootstrap/install.rb @@ -1,5 +1,5 @@ say "Install Bootstrap with Popperjs/core" -copy_file "#{__dir__}/bootstrap_js_files.js", "bootstrap.js" +copy_file "#{__dir__}/bootstrap.js", "bootstrap.js" copy_file "#{__dir__}/application.scss", "app/assets/stylesheets/application.scss" run "yarn add bootstrap@latest" From ccb18da3c0df182198c857d777033cf63bd7756f Mon Sep 17 00:00:00 2001 From: andreyazimov Date: Thu, 9 Sep 2021 19:32:23 +0700 Subject: [PATCH 11/18] fixed relative path of bootstrap.scss , because it was not working for some reason. changed from '~bootstrap/scss/bootstrap' to '../../../node_modules/bootstrap/scss/bootstrap' --- lib/install/bootstrap/application.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/install/bootstrap/application.scss b/lib/install/bootstrap/application.scss index 93c4b1c..46230ef 100644 --- a/lib/install/bootstrap/application.scss +++ b/lib/install/bootstrap/application.scss @@ -1 +1 @@ -@import "~bootstrap/scss/bootstrap"; \ No newline at end of file +@import '../../../node_modules/bootstrap/scss/bootstrap' From 712e7b988723aa1e89c5bc102744e097fa17dfb7 Mon Sep 17 00:00:00 2001 From: andreyazimov Date: Thu, 9 Sep 2021 19:37:45 +0700 Subject: [PATCH 12/18] added say "Add build:css script" to install.rb --- lib/install/bootstrap/install.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/install/bootstrap/install.rb b/lib/install/bootstrap/install.rb index 3abe1c7..9a2ddd3 100644 --- a/lib/install/bootstrap/install.rb +++ b/lib/install/bootstrap/install.rb @@ -5,4 +5,5 @@ run "yarn add bootstrap@latest" run "yarn add @popperjs/core@latest" +say "Add build:css script" run %(npm set-script build:css "sass ./app/assets/stylesheets/application.scss ./app/assets/builds/application.css --no-source-map") From c200a934aa6168ab8ea09eabfce400ef9dae8fff Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 10 Sep 2021 10:49:38 +0200 Subject: [PATCH 13/18] Match existing conventions and add the JavaScript needs to the default entry point --- lib/install/bootstrap/application.bootstrap.scss | 1 + lib/install/bootstrap/application.scss | 1 - lib/install/bootstrap/install.rb | 16 +++++++++++----- 3 files changed, 12 insertions(+), 6 deletions(-) create mode 100644 lib/install/bootstrap/application.bootstrap.scss delete mode 100644 lib/install/bootstrap/application.scss diff --git a/lib/install/bootstrap/application.bootstrap.scss b/lib/install/bootstrap/application.bootstrap.scss new file mode 100644 index 0000000..ce11c65 --- /dev/null +++ b/lib/install/bootstrap/application.bootstrap.scss @@ -0,0 +1 @@ +@import '../../../node_modules/bootstrap/scss/bootstrap'; diff --git a/lib/install/bootstrap/application.scss b/lib/install/bootstrap/application.scss deleted file mode 100644 index 46230ef..0000000 --- a/lib/install/bootstrap/application.scss +++ /dev/null @@ -1 +0,0 @@ -@import '../../../node_modules/bootstrap/scss/bootstrap' diff --git a/lib/install/bootstrap/install.rb b/lib/install/bootstrap/install.rb index 9a2ddd3..3e171db 100644 --- a/lib/install/bootstrap/install.rb +++ b/lib/install/bootstrap/install.rb @@ -1,9 +1,15 @@ say "Install Bootstrap with Popperjs/core" -copy_file "#{__dir__}/bootstrap.js", "bootstrap.js" -copy_file "#{__dir__}/application.scss", "app/assets/stylesheets/application.scss" +copy_file "#{__dir__}/application.bootstrap.scss", + "app/assets/stylesheets/application.bootstrap.scss" +copy_file "#{__dir__}/bootstrap.js", "app/javascript/bootstrap.js" +run "yarn add sass bootstrap @popperjs/core" -run "yarn add bootstrap@latest" -run "yarn add @popperjs/core@latest" +if Rails.root.join("app/javascript/application.js").exist? + say "Appending Bootstrap JavaScript import to default entry point" + append_to_file "app/javascript/application.js", %(import "./bootstrap"\n) +else + say %(Add import "./bootstrap" to your entry point JavaScript file), :red +end say "Add build:css script" -run %(npm set-script build:css "sass ./app/assets/stylesheets/application.scss ./app/assets/builds/application.css --no-source-map") +run %(npm set-script build:css "sass ./app/assets/stylesheets/application.bootstrap.scss ./app/assets/builds/application.css --no-source-map") From 80c616582aec96f74c78faace608778b730d03f5 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 10 Sep 2021 10:56:17 +0200 Subject: [PATCH 14/18] Use ESM package instead --- lib/install/bootstrap/bootstrap.js | 11 ----------- lib/install/bootstrap/install.rb | 4 ++-- 2 files changed, 2 insertions(+), 13 deletions(-) delete mode 100644 lib/install/bootstrap/bootstrap.js diff --git a/lib/install/bootstrap/bootstrap.js b/lib/install/bootstrap/bootstrap.js deleted file mode 100644 index 3794e90..0000000 --- a/lib/install/bootstrap/bootstrap.js +++ /dev/null @@ -1,11 +0,0 @@ -import 'bootstrap/js/src/carousel' -import 'bootstrap/js/src/collapse' -import 'bootstrap/js/src/dropdown' -import 'bootstrap/js/src/modal' -import 'bootstrap/js/src/scrollspy' -// import 'bootstrap/js/src/alert' -// import 'bootstrap/js/src/button' -// import 'bootstrap/js/src/popover' -// import 'bootstrap/js/src/tab' -// import 'bootstrap/js/src/toast' -// import 'bootstrap/js/src/tooltip' \ No newline at end of file diff --git a/lib/install/bootstrap/install.rb b/lib/install/bootstrap/install.rb index 3e171db..d284386 100644 --- a/lib/install/bootstrap/install.rb +++ b/lib/install/bootstrap/install.rb @@ -6,9 +6,9 @@ if Rails.root.join("app/javascript/application.js").exist? say "Appending Bootstrap JavaScript import to default entry point" - append_to_file "app/javascript/application.js", %(import "./bootstrap"\n) + append_to_file "app/javascript/application.js", %(import * as bootstrap from "bootstrap"\n) else - say %(Add import "./bootstrap" to your entry point JavaScript file), :red + say %(Add import * as bootstrap from "bootstrap" to your entry point JavaScript file), :red end say "Add build:css script" From be8da36bd0738ade260494233cd1424ee67ddb69 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 10 Sep 2021 11:14:27 +0200 Subject: [PATCH 15/18] We are using esm now --- lib/install/bootstrap/install.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/install/bootstrap/install.rb b/lib/install/bootstrap/install.rb index d284386..1e0af57 100644 --- a/lib/install/bootstrap/install.rb +++ b/lib/install/bootstrap/install.rb @@ -1,7 +1,6 @@ say "Install Bootstrap with Popperjs/core" copy_file "#{__dir__}/application.bootstrap.scss", "app/assets/stylesheets/application.bootstrap.scss" -copy_file "#{__dir__}/bootstrap.js", "app/javascript/bootstrap.js" run "yarn add sass bootstrap @popperjs/core" if Rails.root.join("app/javascript/application.js").exist? From 80bf8f3fd2a783fc813d4979c5b49269d08f8cff Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 10 Sep 2021 11:14:44 +0200 Subject: [PATCH 16/18] Stop linking stylesheets in manifest Or Sprockets will try to install sassc! --- lib/install/install.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/install/install.rb b/lib/install/install.rb index 50245fa..9567314 100644 --- a/lib/install/install.rb +++ b/lib/install/install.rb @@ -3,6 +3,9 @@ keep_file "app/assets/builds" append_to_file "app/assets/config/manifest.js", %(//= link_tree ../builds\n) +say "Stop linking stylesheets automatically" +gsub_file "app/assets/config/manifest.js", "//= link_directory ../stylesheets .css", "" + if Rails.root.join(".gitignore").exist? append_to_file(".gitignore", %(/app/assets/builds\n!/app/assets/builds/.keep\n)) end From adac3315cccc0f8ae6852f666500fbe7610e43bf Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 10 Sep 2021 11:18:42 +0200 Subject: [PATCH 17/18] Use sass with load path --- lib/install/bootstrap/application.bootstrap.scss | 2 +- lib/install/bootstrap/install.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/install/bootstrap/application.bootstrap.scss b/lib/install/bootstrap/application.bootstrap.scss index ce11c65..54adde9 100644 --- a/lib/install/bootstrap/application.bootstrap.scss +++ b/lib/install/bootstrap/application.bootstrap.scss @@ -1 +1 @@ -@import '../../../node_modules/bootstrap/scss/bootstrap'; +@import 'bootstrap/scss/bootstrap'; diff --git a/lib/install/bootstrap/install.rb b/lib/install/bootstrap/install.rb index 1e0af57..f695e8a 100644 --- a/lib/install/bootstrap/install.rb +++ b/lib/install/bootstrap/install.rb @@ -11,4 +11,4 @@ end say "Add build:css script" -run %(npm set-script build:css "sass ./app/assets/stylesheets/application.bootstrap.scss ./app/assets/builds/application.css --no-source-map") +run %(npm set-script build:css "sass ./app/assets/stylesheets/application.bootstrap.scss ./app/assets/builds/application.css --no-source-map --load-path=node_modules") From 0b6396e41125951e47d24aa8e40bb4b3aa2ea059 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 10 Sep 2021 11:19:03 +0200 Subject: [PATCH 18/18] Excess CR --- lib/tasks/cssbundling/install.rake | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/tasks/cssbundling/install.rake b/lib/tasks/cssbundling/install.rake index 31209d2..6a87cd3 100644 --- a/lib/tasks/cssbundling/install.rake +++ b/lib/tasks/cssbundling/install.rake @@ -24,6 +24,5 @@ namespace :css do task bootstrap: "css:install:shared" do system "#{RbConfig.ruby} ./bin/rails app:template LOCATION=#{File.expand_path("../../install/bootstrap/install.rb", __dir__)}" end - end end