aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDino Maric <dino.onex@gmail.com>2017-07-21 15:14:07 +0200
committerDavid Heinemeier Hansson <david@loudthinking.com>2017-07-21 08:14:07 -0500
commit986a71d26868d296f4c619df85909d1073b6c91f (patch)
tree5f8e726600d0a69656a226c69627aaaf41b48d87 /README.md
parent32331b19e1da8bdab3c9f6d1666ac2d3108e5042 (diff)
downloadrails-986a71d26868d296f4c619df85909d1073b6c91f.tar.gz
rails-986a71d26868d296f4c619df85909d1073b6c91f.tar.bz2
rails-986a71d26868d296f4c619df85909d1073b6c91f.zip
Add instruction to install the gem from the master (#65)
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/README.md b/README.md
index 625b960624..27678a8fe1 100644
--- a/README.md
+++ b/README.md
@@ -65,9 +65,10 @@ end
## Installation
-1. Add `require "active_storage"` to config/application.rb, after `require "rails/all"` line.
-2. Run `rails activestorage:install` to create needed directories, migrations, and configuration.
-3. Configure the storage service in `config/environments/*` with `config.active_storage.service = :local`
+1. Add `gem "activestorage", git: "https://github.com/rails/activestorage.git"` to your Gemfile.
+2. Add `require "active_storage"` to config/application.rb, after `require "rails/all"` line.
+3. Run `rails activestorage:install` to create needed directories, migrations, and configuration.
+4. Configure the storage service in `config/environments/*` with `config.active_storage.service = :local`
that references the services configured in `config/storage_services.yml`.
## Todos