added uglifier and redis

This commit is contained in:
Beatrice Olivera 2018-08-28 10:41:54 +01:00
parent aa3693d58c
commit 31eeee305e
3 changed files with 6 additions and 3 deletions

View File

@ -7,7 +7,7 @@ gem 'jbuilder', '~> 2.0'
gem 'pg', '~> 0.21' gem 'pg', '~> 0.21'
gem 'puma' gem 'puma'
gem 'rails', '5.2.1' gem 'rails', '5.2.1'
gem 'redis' gem 'redis', '~> 3.0'
gem 'autoprefixer-rails' gem 'autoprefixer-rails'
gem 'bootstrap-sass', '~> 3.3' gem 'bootstrap-sass', '~> 3.3'

View File

@ -143,7 +143,7 @@ GEM
rb-fsevent (0.10.3) rb-fsevent (0.10.3)
rb-inotify (0.9.10) rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2) ffi (>= 0.5.0, < 2)
redis (4.0.2) redis (3.3.5)
responders (2.4.0) responders (2.4.0)
actionpack (>= 4.2.0, < 5.3) actionpack (>= 4.2.0, < 5.3)
railties (>= 4.2.0, < 5.3) railties (>= 4.2.0, < 5.3)
@ -215,7 +215,7 @@ DEPENDENCIES
pry-rails pry-rails
puma puma
rails (= 5.2.1) rails (= 5.2.1)
redis redis (~> 3.0)
sass-rails sass-rails
simple_form simple_form
spring spring

View File

@ -94,4 +94,7 @@ Rails.application.configure do
# Do not dump schema after migrations. # Do not dump schema after migrations.
config.active_record.dump_schema_after_migration = false config.active_record.dump_schema_after_migration = false
# Backwards compatibility
config.assets.js_compressor = Uglifier.new(harmony: true)
end end