解决task报错,找不到uglifier的问题

This commit is contained in:
guange 2016-07-25 15:29:47 +08:00
parent 72c23b4a72
commit e31fbe9b50
1 changed files with 1 additions and 0 deletions

View File

@ -1,5 +1,6 @@
#coding=utf-8
#
require 'uglifier'
def compress(srcs, outfile)
wechat_path = File.join(Rails.root, "public", "javascripts", "wechat")