about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorJenkins <jenkins@jenkins.ninjawedding.org>2018-02-04 03:17:11 +0000
committerJenkins <jenkins@jenkins.ninjawedding.org>2018-02-04 03:17:11 +0000
commit530fcc1c14d2b7a38c1b734c0b18955f109f0f20 (patch)
tree43f71f648b65b81849c0081f8afd729546a8b5c2 /lib
parentc14f59c542accd44a12c30b50f8ccca6730fd1b7 (diff)
parent9da81a16391edfcbda9c748dcd519fb3ebd765e5 (diff)
Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master
Diffstat (limited to 'lib')
-rw-r--r--lib/tasks/assets.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/assets.rake b/lib/tasks/assets.rake
index f60c1b9f2..0826f0186 100644
--- a/lib/tasks/assets.rake
+++ b/lib/tasks/assets.rake
@@ -9,7 +9,7 @@ end
 
 namespace :assets do
   desc 'Generate static pages'
-  task :generate_static_pages do
+  task generate_static_pages: :environment do
     render_static_page 'errors/500', layout: 'error', dest: Rails.root.join('public', 'assets', '500.html')
   end
 end