diff options
author | Dino Maric <dino.onex@gmail.com> | 2017-07-21 15:14:07 +0200 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2017-07-21 08:14:07 -0500 |
commit | 986a71d26868d296f4c619df85909d1073b6c91f (patch) | |
tree | 5f8e726600d0a69656a226c69627aaaf41b48d87 | |
parent | 32331b19e1da8bdab3c9f6d1666ac2d3108e5042 (diff) | |
download | rails-986a71d26868d296f4c619df85909d1073b6c91f.tar.gz rails-986a71d26868d296f4c619df85909d1073b6c91f.tar.bz2 rails-986a71d26868d296f4c619df85909d1073b6c91f.zip |
Add instruction to install the gem from the master (#65)
-rw-r--r-- | README.md | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |