Skip to content
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

Rails::Offline generated manifest doesn't recurse through directories under "images" #6

Open
saltracer opened this issue Dec 16, 2010 · 4 comments

Comments

@saltracer
Copy link

When using Rails::Offline the cache_block method fails to properly recurse through the images directory.

Changing line 33 from:
"#{root}/images/"
to:
"#{root}/images/
/."

allows the recursion to occur and the manifest be created properly.

@skyporter
Copy link

I have notified the same issue, thanks for the tips.

@denis
Copy link

denis commented Apr 3, 2011

I have the same issue.

@leequarella
Copy link

I replaced line 33 with:

"#{root}/images/**/*.png",
"#{root}/images/**/*.jpg",
"#{root}/images/**/*.gif"]

Works fine for me now.

@iesta
Copy link

iesta commented Dec 12, 2012

You could add "#{root}/images/*/.jpeg" too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants