Merge pull request #106 from snap-cloud/fix-carrierwave

Fix carrierwave
This commit is contained in:
Michael Ball 2021-03-04 02:42:14 -08:00 committed by GitHub
commit d5796619c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 0 deletions

View file

@ -273,6 +273,7 @@ group :development, :test, :linters do
# as debugger
gem 'byebug'
gem 'pry'
gem 'pry-byebug'
# Linters and static analysis.
gem 'pronto', require: false

View file

@ -419,6 +419,9 @@ GEM
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
pry-byebug (3.8.0)
byebug (~> 11.0)
pry (~> 0.10)
public_suffix (3.1.1)
puma (5.2.1)
nio4r (~> 2.0)
@ -746,6 +749,7 @@ DEPENDENCIES
pronto-haml
pronto-rubocop
pry
pry-byebug
puma (~> 5.2)
rails (~> 5.2)
rails-assets-bootstrap-markdown!

View file

@ -1,5 +1,6 @@
CarrierWave.configure do |config|
config.storage = :file
config.cache_storage = :file
config.cache_dir = "#{Rails.root}/tmp/uploads"
config.enable_processing = false if Rails.env.test?
end