Skip to content

Commit b451c60

Browse files
Use bundle add instead (#85)
As per rubygems/rubygems#5337, we can simplify the steps of adding a gem.
1 parent d435ad1 commit b451c60

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,8 @@ You can configure your bundler options in the `build:css` script in `package.jso
2121

2222
You must already have node and yarn installed on your system. You will also need npx version 7.1.0 or later. Then:
2323

24-
1. Add `cssbundling-rails` to your Gemfile with `gem 'cssbundling-rails'`
25-
2. Run `./bin/bundle install`
26-
3. Run `./bin/rails css:install:[tailwind|bootstrap|bulma|postcss|sass]`
24+
1. Run `./bin/bundle add cssbundling-rails`
25+
2. Run `./bin/rails css:install:[tailwind|bootstrap|bulma|postcss|sass]`
2726

2827
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]`.
2928

0 commit comments

Comments
 (0)