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:
parent
0a4e52e77b
commit
2e6672bf0a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue