Require dependency otherwise it causes Sidekiq to lock up in development.

This commit is contained in:
Guo Xiang Tan
2017-09-15 13:02:11 +08:00
parent 5be5def217
commit 23b787e0a6
16 changed files with 20 additions and 8 deletions

View File

@ -44,6 +44,8 @@ after_initialize do
# Disable welcome message because that is what the bot is supposed to replace.
SiteSetting.send_welcome_message = false
require_dependency 'plugin_store'
module ::DiscourseNarrativeBot
PLUGIN_NAME = "discourse-narrative-bot".freeze