Skip to content

Commit fc66837

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

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
@@ -24,9 +24,8 @@ If you want to use webpack features like [code splitting](https://webpack.js.org
2424

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

27-
1. Add `jsbundling-rails` to your Gemfile with `gem 'jsbundling-rails'`
28-
2. Run `./bin/bundle install`
29-
3. Run `./bin/rails javascript:install:[esbuild|rollup|webpack]`
27+
1. Run `./bin/bundle add jsbundling-rails`
28+
2. Run `./bin/rails javascript:install:[esbuild|rollup|webpack]`
3029

3130
Or, in Rails 7+, you can preconfigure your new application to use a specific bundler with `rails new myapp -j [esbuild|rollup|webpack]`.
3231

0 commit comments

Comments
 (0)