我想向 UI 开发人员展示我的 web 应用程序的未捆绑的 javascript 和 css。我试过添加require 'sprockets/railties'
config.assets.debug = true
在我的 production.rb 中,但它不起作用,我仍然可以在我的浏览器源中看到捆绑的、丑陋的 css/js。
我尝试通过添加rack_env development
我的/etc/nginx/nginx.conf
http 块在开发模式下运行我的生产,但由于以下错误,我收到错误请求:-
invalid number of arguments in "rack_env" directive in /etc/nginx/nginx.conf:16
请帮忙