即使我处于开发模式,也不会声明“资产未在生产中进行预编译”

时间:2019-09-03 08:57:18

标签: ruby-on-rails

这是完整的错误:

Asset was not declared to be precompiled in production.
Add `Rails.application.config.assets.precompile += %w( tutorial.js )` to `config/initializers/assets.rb` and restart your server

服务器启动时,表明它正在开发中:

=> Booting Puma
=> Rails 5.1.7 application starting in development

0 个答案:

没有答案