From f0b8b4fdd07d0d4cd2c3f6662209baa9ade609d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Glauco=20Cust=C3=B3dio?= Date: Mon, 21 Mar 2022 11:46:44 +0000 Subject: [PATCH] Use bundle add instead As per https://github.com/rubygems/rubygems/pull/5337, we can simplify the steps of adding a gem. --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 848d3ce..e4c7e6a 100644 --- a/README.md +++ b/README.md @@ -21,9 +21,8 @@ You can configure your bundler options in the `build:css` script in `package.jso You must already have node and yarn installed on your system. You will also need npx version 7.1.0 or later. Then: -1. Add `cssbundling-rails` to your Gemfile with `gem 'cssbundling-rails'` -2. Run `./bin/bundle install` -3. Run `./bin/rails css:install:[tailwind|bootstrap|bulma|postcss|sass]` +1. Run `./bin/bundle add cssbundling-rails` +2. Run `./bin/rails css:install:[tailwind|bootstrap|bulma|postcss|sass]` Or, in Rails 7+, you can preconfigure your new application to use a specific bundler with `rails new myapp --css [tailwind|bootstrap|bulma|postcss|sass]`.