mirror of
https://github.com/drapergem/draper
synced 2023-03-27 23:21:17 -04:00
Clarify installation instructions
This commit is contained in:
parent
da5ac7c7ce
commit
2a32e47cc4
1 changed files with 9 additions and 2 deletions
11
README.md
11
README.md
|
@ -107,13 +107,20 @@ Decorators are the ideal place to:
|
|||
|
||||
## Installation
|
||||
|
||||
Add Draper to your Gemfile:
|
||||
Add Draper to your Gemfile. If you're using `Rails 5`, use the `3.0.0` version
|
||||
pre-release
|
||||
|
||||
```ruby
|
||||
gem 'draper', '3.0.0.pre1'
|
||||
```
|
||||
|
||||
Otherwise, use the latest released version
|
||||
|
||||
```ruby
|
||||
gem 'draper'
|
||||
```
|
||||
|
||||
And run `bundle install` within your app's directory.
|
||||
After that, run `bundle install` within your app's directory.
|
||||
|
||||
If you're upgrading from a 0.x release, the major changes are outlined [in the
|
||||
wiki](https://github.com/drapergem/draper/wiki/Upgrading-to-1.0).
|
||||
|
|
Loading…
Reference in a new issue