大佬教程收集整理的这篇文章主要介绍了twitter-bootstrap – Glyphicons在Production Rails中没有正确预编译,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
started GET "/assets/glyphicons-halflings-white-ed38e147e3f6e976c0a7ad59e4d628f3.png" for 127.0.0.1 at 2014-01-13 18:41:25 -0500 Started GET "/assets/glyphicons-halflings-white-ed38e147e3f6e976c0a7ad59e4d628f3.png" for 127.0.0.1 at 2014-01-13 18:41:25 -0500 Processing by ApplicationController#routIng_error as PNG Processing by ApplicationController#routIng_error as PNG Parameters: {"path"=>"assets/glyphicons-halflings-white-ed38e147e3f6e976c0a7ad59e4d628f3"} Parameters: {"path"=>"assets/glyphicons-halflings-white-ed38e147e3f6e976c0a7ad59e4d628f3"} Rendered public/404.html (0.3ms) Rendered public/404.html (0.3ms) Completed 404 Not Found in 17ms (Views: 3.4ms | ActiveRecord: 8.0ms) Completed 404 Not Found in 17ms (Views: 3.4ms | ActiveRecord: 8.0ms)
它在开发中工作正常.如果我在production.rb中设置config.assets.compile = true它似乎工作正常 – 但我理解基于这个SO问题非常糟糕:
files produced by asset:precompile don’t match urls generated by stylesheet_link_tag (missing digest) in minimal rails 4 site
在Rails 3.2中,这对我来说不是问题.
任何帮助将不胜感激!
以上是大佬教程为你收集整理的twitter-bootstrap – Glyphicons在Production Rails中没有正确预编译全部内容,希望文章能够帮你解决twitter-bootstrap – Glyphicons在Production Rails中没有正确预编译所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。