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

Don't use Rails' 'spreadsheet_link_tag' with the :cache option #4

Open
kellyredding opened this issue Feb 11, 2010 · 0 comments
Open

Comments

@kellyredding
Copy link
Owner

If you use this option, Rails tries to do some magic and combine the stylesheets you specify into one sheet. However, it requires that the sheets you specify are already in the 'public/stylesheets' folder, and they may or may not be if you are using this gem. Rails will raise an exception saying it can't find a specified .css file and stuff breaks.

Instead, define combinations using Rack::Less.configure, and use the 'stylesheet_link_tag' as directed in the README if you want this behavior.

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

1 participant