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

rake doc fails, even after installing pandoc #118

Closed
indirect opened this issue Nov 11, 2016 · 0 comments · Fixed by #124
Closed

rake doc fails, even after installing pandoc #118

indirect opened this issue Nov 11, 2016 · 0 comments · Fixed by #124

Comments

@indirect
Copy link
Member

Repro steps:

  1. brew install pandoc
  2. hub clone bundler/gemstash
  3. bundle install
  4. bundle exec rake doc
pandoc: Error running filter /Users/andre/src/bundler/gemstash/rake/doc/insert_github_generation_comment.rb
Filter returned error status 1
groff -Wall -mtty-char -mandoc -Tascii /Users/andre/src/bundler/gemstash/lib/gemstash/man/gemstash-readme.7 | col -b > /Users/andre/src/bundler/gemstash/lib/gemstash/man/gemstash-readme.7.txt
troff: fatal error: can't open `/Users/andre/src/bundler/gemstash/lib/gemstash/man/gemstash-readme.7': No such file or directory
pandoc -s -f markdown -t html --filter '/Users/andre/src/bundler/gemstash/rake/doc/insert_github_generation_comment.rb' --filter '/Users/andre/src/bundler/gemstash/rake/doc/insert_images.rb' --filter '/Users/andre/src/bundler/gemstash/rake/doc/upcase_headers.rb' --filter '/Users/andre/src/bundler/gemstash/rake/doc/fix_links_for_format.rb' -o '/Users/andre/src/bundler/gemstash/html/index.html' '/Users/andre/src/bundler/gemstash/man/gemstash-readme.7.md'
/Users/andre/src/bundler/gemstash/.bundle/ruby/2.3.0/gems/pandoc_object_filters-0.1.0/lib/pandoc_object_filters/element/document.rb:15:in `to_ast': undefined method `to_ast' for nil:NilClass (NoMethodError)
Did you mean?  to_a
               to_s
        from /Users/andre/src/bundler/gemstash/.bundle/ruby/2.3.0/gems/pandoc_object_filters-0.1.0/lib/pandoc_object_filters/element.rb:18:in `to_ast'
        from /Users/andre/src/bundler/gemstash/.bundle/ruby/2.3.0/gems/pandoc_object_filters-0.1.0/lib/pandoc_object_filters/filter.rb:34:in `process'
        from /Users/andre/src/bundler/gemstash/.bundle/ruby/2.3.0/gems/pandoc_object_filters-0.1.0/lib/pandoc_object_filters/filter.rb:23:in `filter!'
        from /Users/andre/src/bundler/gemstash/rake/doc/insert_github_generation_comment.rb:34:in `<main>'

Is this a bug in pandoc_object_filters? /cc @smellsblue

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

Successfully merging a pull request may close this issue.

1 participant