Open4

はじめてのRe:VIEW

技術書典を書くためにやったこと

環境

  • Windows11

技術書をかこう! ~はじめてのRe:VIEW~ 改訂版【C92新刊】などを参考に

https://github.com/TechBooster/ReVIEW-Template

参考に

$ gem install bundler
$ git clone git@github.com:TechBooster/ReVIEW-Template.git
$ cd ReVIEW-Template
$ npm install
$ npm run pdf

しかしエラー?

ℹ INFO    uplatex -interaction=nonstopmode -file-line-error -halt-on-error __REVIEW_BOOK__.tex
C:/Ruby31-x64/lib/ruby/3.1.0/open3.rb:222:in `spawn': No such file or directory - uplatex (Errno::ENOENT)
        from C:/Ruby31-x64/lib/ruby/3.1.0/open3.rb:222:in `popen_run'
        from C:/Ruby31-x64/lib/ruby/3.1.0/open3.rb:210:in `popen2e'
        from C:/Ruby31-x64/lib/ruby/3.1.0/open3.rb:399:in `capture2e'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/review-5.4.0/lib/review/pdfmaker.rb:55:in `system_or_raise'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/review-5.4.0/lib/review/pdfmaker.rb:242:in `block (2 levels) in build_pdf'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/review-5.4.0/lib/review/pdfmaker.rb:241:in `times'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/review-5.4.0/lib/review/pdfmaker.rb:241:in `block in build_pdf'     
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/review-5.4.0/lib/review/pdfmaker.rb:199:in `chdir'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/review-5.4.0/lib/review/pdfmaker.rb:199:in `build_pdf'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/review-5.4.0/lib/review/pdfmaker.rb:291:in `generate_pdf'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/review-5.4.0/lib/review/pdfmaker.rb:151:in `execute'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/review-5.4.0/lib/review/pdfmaker.rb:93:in `execute'
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/review-5.4.0/bin/review-pdfmaker:14:in `<top (required)>'
        from C:/Ruby31-x64/bin/review-pdfmaker:32:in `load'
        from C:/Ruby31-x64/bin/review-pdfmaker:32:in `<main>'
rake aborted!
Command failed with status (1): [review-pdfmaker  config.yml...]
lib/tasks/review.rake:112:in `block in <top (required)>'
Tasks: TOP => pdf => ReVIEW-Template.pdf
(See full trace by running task with --trace)
Warning: Command failed: bundle exec rake pdf 
review-pdfmaker  config.yml
ℹ INFO    compiling preface.tex
ℹ INFO    compiling article.tex
        from C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/review-5.4.0/bin/review-pdfmaker:14:in `<top (required)>'
        from C:/Ruby31-x64/bin/review-pdfmaker:32:in `load'
        from C:/Ruby31-x64/bin/review-pdfmaker:32:in `<main>'
rake aborted!
Command failed with status (1): [review-pdfmaker  config.yml...]
lib/tasks/review.rake:112:in `block in <top (required)>'
Tasks: TOP => pdf => ReVIEW-Template.pdf
(See full trace by running task with --trace) Use --force to continue.

Aborted due to warnings.
ログインするとコメントできます