From 547882b134198bef38dc554b9aa6560ff0d02316 Mon Sep 17 00:00:00 2001 From: bohung Date: Tue, 23 Mar 2021 16:34:55 +0800 Subject: [PATCH] Fix bug. --- faq.gemspec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/faq.gemspec b/faq.gemspec index 795c845..f49a33e 100644 --- a/faq.gemspec +++ b/faq.gemspec @@ -2,7 +2,9 @@ $:.push File.expand_path("../lib", __FILE__) # Maintain your gem's version: require "faq/version" +env_pwd = ENV['PWD'] app_path = File.expand_path(__dir__) +template_path = env_pwd + '/app/templates' all_template = Dir.glob(template_path+'/*/') all_template.each do |folder| if !folder.include?('mobile')