diff options
author | Yoshiyuki Hirano <yhirano@me.com> | 2017-09-17 23:53:41 +0900 |
---|---|---|
committer | Yoshiyuki Hirano <yhirano@me.com> | 2017-09-17 23:53:41 +0900 |
commit | 1df25e6f800d4202e5ee884d2819599e6e35e806 (patch) | |
tree | 57f52e88d220fe13707f931400e43261b48b27b4 /railties/lib/rails | |
parent | fefc5e8e3757559cfbbb21390165c842bb8565f3 (diff) | |
download | rails-1df25e6f800d4202e5ee884d2819599e6e35e806.tar.gz rails-1df25e6f800d4202e5ee884d2819599e6e35e806.tar.bz2 rails-1df25e6f800d4202e5ee884d2819599e6e35e806.zip |
Add `mini_magick` to default `Gemfile` as comment
* If we want to transform image on ActiveStorage, we should bundle
`mini_magick`.
* I've added comment block to default `Gemfile` to be easier to install this.
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/Gemfile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/Gemfile b/railties/lib/rails/generators/rails/app/templates/Gemfile index 7b7bebc957..770247d8ca 100644 --- a/railties/lib/rails/generators/rails/app/templates/Gemfile +++ b/railties/lib/rails/generators/rails/app/templates/Gemfile @@ -21,6 +21,9 @@ ruby <%= "'#{RUBY_VERSION}'" -%> # Use ActiveModel has_secure_password # gem 'bcrypt', '~> 3.1.7' +# Use ActiveStorage variant +# gem 'mini_magick', '~> 4.8' + # Use Capistrano for deployment # gem 'capistrano-rails', group: :development |