Skip to content

Commit

Permalink
Use bundle add in README installation instructions (#1287)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
glaucocustodio and deivid-rodriguez authored Mar 24, 2022
1 parent 0a4e52e commit 2e6672b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

In your Gemfile, for the last officially released gem:
To install `ransack` and add it to your Gemfile, run

```ruby
gem 'ransack'
bundle add ransack
```

If you would like to use the latest updates (recommended), use the `master`
branch:
If you would like to use the latest updates, use the `master` branch:

```ruby
gem 'ransack', github: 'activerecord-hackery/ransack'
bundle add ransack --github "activerecord-hackery/ransack"
```

## Issues tracker
Expand Down

0 comments on commit 2e6672b

Please sign in to comment.