运行rake db:setup
时出现错误:
deploy @ Exchange:〜/ .rbenv / peatio $捆绑执行rake db:setup peatio_production已经存在 耙子流产了! NameError:未初始化的常量Uglifier /home/deploy/.rbenv/peatio/config/environments/production.rb:26:in
block in <top (required)>
/home/deploy/.rbenv/peatio/vendor/bundle/ruby/2.5.0/gems/railties-4.2.11.1/lib/rails/railtie.rb:210:ininstance_eval
/home/deploy/.rbenv/peatio/vendor/bundle/ruby/2.5.0/gems/railties-4.2.11.1/lib/rails/railtie.rb:210:inconfigure
/home/deploy/.rbenv/peatio/vendor/bundle/ruby/2.5.0/gems/railties-4.2.11.1/lib/rails/railtie.rb:182:inconfigure
/home/deploy/.rbenv/peatio/config/environments/production.rb:1:in<top (required)>
有人可以帮我吗?
答案 0 :(得分:1)
这仅意味着您在某些地方有一些语法,很可能在JS文件中。检查您最近处理过的文件,并查找语法错误。