summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki/Setup.pm2
-rw-r--r--doc/bugs/Undefined_subroutine_IkiWiki::refresh.mdwn3
2 files changed, 4 insertions, 1 deletions
diff --git a/IkiWiki/Setup.pm b/IkiWiki/Setup.pm
index 2b76efc16..3b7a11253 100644
--- a/IkiWiki/Setup.pm
+++ b/IkiWiki/Setup.pm
@@ -97,6 +97,8 @@ sub setup () { #{{{
loadplugins();
checkconfig();
+ require IkiWiki::Render;
+
if ($config{render}) {
commandline_render();
}
diff --git a/doc/bugs/Undefined_subroutine_IkiWiki::refresh.mdwn b/doc/bugs/Undefined_subroutine_IkiWiki::refresh.mdwn
index 827aff0f2..c0cc3fd9a 100644
--- a/doc/bugs/Undefined_subroutine_IkiWiki::refresh.mdwn
+++ b/doc/bugs/Undefined_subroutine_IkiWiki::refresh.mdwn
@@ -3,4 +3,5 @@ After building a fresh deb from current Git master (9b62dac4bcf62f3a1f76ec5a7ed5
$ ikiwiki --setup ~/ikiwiki.setup --rebuild
Undefined subroutine &IkiWiki::refresh called at /usr/share/perl5/IkiWiki/Setup.pm line 113.
-> Patch coming soon to the "bugs" branch in http://git.debian.org/?p=users/smcv/ikiwiki.git --smcv
+> [[done]], it just needed "require IkiWiki::Render" before it started
+> rendering. --[[smcv]]