From 5577969f3eed2b9becf694404251245a9b37a489 Mon Sep 17 00:00:00 2001 From: Jessica Leach Date: Sat, 7 Jul 2018 14:50:40 +0200 Subject: [PATCH] add assets precomple to rakefile --- .gitignore | 2 ++ Rakefile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index e68d1f4b..86938d0c 100644 --- a/.gitignore +++ b/.gitignore @@ -25,6 +25,8 @@ # Ignore application configuration /config/application.yml +/public/packs +/public/assets /public/packs-test /node_modules yarn-debug.log* diff --git a/Rakefile b/Rakefile index e85f9139..77e11487 100644 --- a/Rakefile +++ b/Rakefile @@ -3,4 +3,6 @@ require_relative 'config/application' +Rake::Task['assets:precompile'] + Rails.application.load_tasks