-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
require_tree doesn't pull all files in when precompiling #272
Comments
Is there any chance of file1 be called index? On Sun, Sep 6, 2015, 04:56 Martin288 notifications@github.com wrote:
|
@rafaelfranca no, it is named |
@rafaelfranca additional information here: If I continue to add new file under |
Update again: Today I tried to deploy the application from another git branch, which doesn't require
It seems like that Sprockets always try to load files from something cached? |
Looks like you are having caching problems. Can you please provide a sample application that reproduces the error? |
Hi guys, recently I meet a weird problem but I can not find any solution. The below shows my assets organization:
The below lists the content in my
app/assets/stylesheets/home.css
:As the file shown, I need to require two stylesheets under
vender
directory and require all files underapp/assets/stylesheets/home
, but when I runRAILS_ENV=staging rake assets:precompile
, the precompiled filepublic/assets/home-xxxxxxxxxxxxxxxx.css
only includes codes frombootstrap
,pickaday
,file2
andfile3
, which excludesfile1
. I have tried to delete the precompiled assets and re-run the command, but the same result appeared again.Is there anything should pay attention to when work with
require_tree
directive?The text was updated successfully, but these errors were encountered: