Use `bundle add` in README installation instructions (#1287)

Use `bundle add` in README installation instructions, to reduce the steps needed to start using the gem.

Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
This commit is contained in:
Glauco Custódio 2022-03-24 11:30:04 +00:00 committed by GitHub
parent 0a4e52e77b
commit 2e6672bf0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 5 deletions

View File

@ -17,17 +17,16 @@ or controller layer, you're probably not looking for Ransack.
Ransack is supported for Rails 7.0, 6.x on Ruby 2.6.6 and later. Ransack is supported for Rails 7.0, 6.x on Ruby 2.6.6 and later.
In your Gemfile, for the last officially released gem: To install `ransack` and add it to your Gemfile, run
```ruby ```ruby
gem 'ransack' bundle add ransack
``` ```
If you would like to use the latest updates (recommended), use the `master` If you would like to use the latest updates, use the `master` branch:
branch:
```ruby ```ruby
gem 'ransack', github: 'activerecord-hackery/ransack' bundle add ransack --github "activerecord-hackery/ransack"
``` ```
## Issues tracker ## Issues tracker