-
Notifications
You must be signed in to change notification settings - Fork 16
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
Getting "Error: No such file or directory" after including codefence. #9
Comments
Maybe it's Octopress Docs-related? https://github.com/octopress/codefence/blob/master/lib/octopress-codefence.rb#L115 Can you re-run Jekyll with Jekyll has some code highlighting built in, remember. :) |
Ok, here is the stracktrace:
The code seems to be: def clean
remove = Find.find(CODE_CACHE_DIR).to_a.reject do |file|
@cached_files.include?(file) || File.directory?(file)
end
@cached_files = []
FileUtils.rm remove
end |
Thanks for posting the stack trace. I think this has something to do with the caching. I'll have a look. |
I believe I've fixed this in version 4.2.5 of octopress-code-highlighter. If you update that gem, you should be good to go. Let me know if there's still any trouble. |
No luck here. 😢 After running
|
https://github.com/octopress/code-highlighter/blob/master/lib/octopress-code-highlighter/cache.rb#L43 should just do an |
Grr. I guess I mistakenly expected Find to handle the enumerator that it returns properly. I'll add an |
Ok, update again. This should work. Sorry for the runaround. |
Works like a charm. Thanks for the fast fix. The new octopress rocks by the way. 👍 |
Sweet. Thanks! ⚡ 🎸 ⚡ |
Hi,
I followed the installation instructions and included the gem in my
Gemfile
and added the line- octopress-codefence
to thegems:
part in_config.yml
. But after runningbundle install
jekyll refuses to start:If I remove the gem everything works. But I would really like to have code highlighting. ;-)
Any ideas?
The text was updated successfully, but these errors were encountered: