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

Frank export fails with .css-files in dynamic/css directory #36

Open
wallin opened this issue Mar 12, 2011 · 1 comment
Open

Frank export fails with .css-files in dynamic/css directory #36

wallin opened this issue Mar 12, 2011 · 1 comment

Comments

@wallin
Copy link

wallin commented Mar 12, 2011

Frank export fails if you have a .css file in the 'dynamic'-directory. I discovered this because I have scss-mode with auto-compile in emacs which (unecessarily) places a corresponding .css-file in the same directory:

./lib/frank/base.rb:185:in \`tilt': undefined method `new' for nil:NilClass (NoMethodError)

ext == '.css' doesn't exist in Tilt
185: Tilt[ext].new(filename)

@trvsdnn
Copy link
Owner

trvsdnn commented Mar 14, 2011

I've been meaning to handle this more gracefully.

Tilt is setup to determine which engine to render with based on the extension... I'll add a patch to just ignore files that don't match one of those extensions.

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

2 participants