You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to run to convert an AsciiDoc file in my folder (dubliners, in case):
ruby scripts/convert_book.rb dubliners
I run into the following error:
Failed to parse source, uninitialized constant Tilt (NameError)
in the context of the full error message:
/usr/local/lib/ruby/gems/2.2.0/gems/asciidoctor-1.5.2/lib/asciidoctor.rb:1362:in `rescue in load': asciidoctor: FAILED: <stdin>: Failed to parse source, uninitialized constant Tilt (NameError)
from /usr/local/lib/ruby/gems/2.2.0/gems/asciidoctor-1.5.2/lib/asciidoctor.rb:1281:in `load'
from /usr/local/lib/ruby/gems/2.2.0/gems/asciidoctor-1.5.2/lib/asciidoctor.rb:1458:in `convert'
from scripts/convert_book.rb:12:in `block in <main>'
from scripts/convert_book.rb:9:in `glob'
from scripts/convert_book.rb:9:in `<main>'
Thanks for sharing this! Much appreciated! I was getting the exact same errors.
As of commit 9404c4f on 8/11/2015 (or sooner) all my build issues were resolved simply adding: require 'tilt' to convert_books.rb. I didn't have to do anything else and HTMBook now builds perfectly.
When I try to run to convert an AsciiDoc file in my folder (
dubliners
, in case):I run into the following error:
in the context of the full error message:
I'm running
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin13]
on OS X 10.9.5
with the following gems:
I get the same problem regardless what AsciiDoc file I have in
dubliners
.I'm a newbie rubyist, so I might be simply making a rookie error. Please advise. Thanks in advance.
The text was updated successfully, but these errors were encountered: