我在Rails 4项目中购买了一个html主题。 我试图编译资产以准备生产服务器。
rake assets:precompile RAILS_ENV=production
另外,我包含了这个gem来修复我的图片摘要名称问题
https://github.com/alexspeller/non-stupid-digest-assets
但问题是这个主题用作图标的CSS / fontello文件夹在资产/公共文件夹中没有像这样
这是我从浏览器控制台获得的。
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:3000/assets/fontello/css/icon_set_2.css
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:3000/assets/fontello/css/fontello.css
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:3000/assets/icon_restaurant/css/icon_restaurants.css
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:3000/assets/fontello/css/icon_set_1.css
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:3000/assets/icon_restaurant/css/icon_restaurants.css
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:3000/assets/fontello/css/icon_set_2.css
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:3000/assets/fontello/css/fontello.css Failed to load resource: the server responded with a status of 404 (Not Found)
我该如何解决这个问题? 谢谢!