Shane Curcuru created INCUBATOR-223:
---------------------------------------

             Summary: Website build fails with jbake 2.6.2
                 Key: INCUBATOR-223
                 URL: https://issues.apache.org/jira/browse/INCUBATOR-223
             Project: Incubator
          Issue Type: Bug
          Components: site
            Reporter: Shane Curcuru


OSX 10.x, jbake 2.6.2 from Homebrew fails to build the website.  Tips from 
anyone who's built the website locally on Mac appreciated, especially if there 
are ruby or jbake version limitations.

jbake seems to parse a number of pages with some complaints, but then dies with:



10:12:51.910 INFO org.jbake.app.Crawler - Processing 
[/Users/curcuru/src/g/incubator/pages/past_podlings.ad]... : new 
10:12:52.039 ERROR o.a.internal.JRubyAsciidoctor - org.jruby.RubyNoMethodError
10:12:52.041 INFO c.o.orient.core.Orient - Orient Engine is shutting down...
10:12:52.043 INFO c.o.orient.core.Orient - - shutdown storage: cache...
10:12:52.328 INFO c.o.orient.core.Orient - OrientDB Engine shutdown complete
An unexpected error occurred: org.jruby.exceptions.RaiseException: 
(NoMethodError) asciidoctor: FAILED: <stdin>: Failed to load AsciiDoc document 
- undefined method `start_with?' for nil:NilClass
org.asciidoctor.internal.AsciidoctorCoreException: 
org.jruby.exceptions.RaiseException: (NoMethodError) asciidoctor: FAILED: 
<stdin>: Failed to load AsciiDoc document - undefined method `start_with?' for 
nil:NilClass
 at org.asciidoctor.internal.JRubyAsciidoctor.render(JRubyAsciidoctor.java:341)
 at org.asciidoctor.internal.JRubyAsciidoctor.render(JRubyAsciidoctor.java:448)
 at 
org.jbake.parser.AsciidoctorEngine.processAsciiDoc(AsciidoctorEngine.java:158)
 at org.jbake.parser.AsciidoctorEngine.processBody(AsciidoctorEngine.java:152)
 at org.jbake.parser.MarkupEngine.parse(MarkupEngine.java:118)
 at org.jbake.app.Parser.processFile(Parser.java:44)
 at org.jbake.app.Crawler.crawlSourceFile(Crawler.java:193)
 at org.jbake.app.Crawler.crawl(Crawler.java:112)
 at org.jbake.app.Crawler.crawl(Crawler.java:65)
 at org.jbake.app.Oven.bake(Oven.java:137)
 at org.jbake.launcher.Baker.bake(Baker.java:32)
 at org.jbake.launcher.Main.run(Main.java:97)
 at org.jbake.launcher.Main.run(Main.java:83)
 at org.jbake.launcher.Main.main(Main.java:56)
Caused by: org.jruby.exceptions.RaiseException: (NoMethodError) asciidoctor: 
FAILED: <stdin>: Failed to load AsciiDoc document - undefined method 
`start_with?' for nil:NilClass
 at 
RUBY.parse_section_title(uri:classloader:/gems/asciidoctor-1.5.7.1/lib/asciidoctor/parser.rb:1734)
 at 
RUBY.initialize_section(uri:classloader:/gems/asciidoctor-1.5.7.1/lib/asciidoctor/parser.rb:1564)
 at 
RUBY.next_section(uri:classloader:/gems/asciidoctor-1.5.7.1/lib/asciidoctor/parser.rb:290)
 at 
RUBY.parse(uri:classloader:/gems/asciidoctor-1.5.7.1/lib/asciidoctor/parser.rb:96)
 at 
RUBY.parse(uri:classloader:/gems/asciidoctor-1.5.7.1/lib/asciidoctor/document.rb:565)
 at RUBY.load(uri:classloader:/gems/asciidoctor-1.5.7.1/lib/asciidoctor.rb:1361)
 at 
RUBY.convert(uri:classloader:/gems/asciidoctor-1.5.7.1/lib/asciidoctor.rb:1473)
 at RUBY.convert(<script>:82)

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org
For additional commands, e-mail: general-h...@incubator.apache.org

Reply via email to