【发布时间】:2014-01-03 16:16:55
【问题描述】:
我想知道是否可以通过 HTTP 要求一些资产,例如:
/*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
*
* You're free to add application-wide styles to this file and they'll appear at the top of the
* compiled file, but it's generally better to create a new file per style scope.
*
*= require_tree .
*= require 'http://assets.domain.com/stylesheets/style.css'
*/
我收到一个 Sprockets::FileNotFound 错误与这个 sn-p。
谢谢
【问题讨论】:
标签: ruby-on-rails ruby sprockets precompile