ReVIEW

failed to run command: ebb cover.jpg (RuntimeError)

More than 1 year has passed since last update.

Re:VIEWでPDFを生成する時のエラー対応。

エラーメッセージ

$ rake pdf
review-pdfmaker config.yml
compiling test.tex
/Library/Ruby/Gems/2.0.0/gems/review-2.3.0/lib/review/pdfmaker.rb:42:in `system_or_raise': failed to run command: ebb cover.jpg (RuntimeError)
    from /Library/Ruby/Gems/2.0.0/gems/review-2.3.0/lib/review/pdfmaker.rb:275:in `block in copy_images'
    from /Library/Ruby/Gems/2.0.0/gems/review-2.3.0/lib/review/pdfmaker.rb:268:in `chdir'
    from /Library/Ruby/Gems/2.0.0/gems/review-2.3.0/lib/review/pdfmaker.rb:268:in `copy_images'
    from /Library/Ruby/Gems/2.0.0/gems/review-2.3.0/lib/review/pdfmaker.rb:235:in `generate_pdf'
    from /Library/Ruby/Gems/2.0.0/gems/review-2.3.0/lib/review/pdfmaker.rb:132:in `execute'
    from /Library/Ruby/Gems/2.0.0/gems/review-2.3.0/lib/review/pdfmaker.rb:86:in `execute'
    from /Library/Ruby/Gems/2.0.0/gems/review-2.3.0/bin/review-pdfmaker:18:in `<top (required)>'
    from /usr/local/bin/review-pdfmaker:23:in `load'
    from /usr/local/bin/review-pdfmaker:23:in `<main>'
rake aborted!
Command failed with status (1): [review-pdfmaker config.yml...]
/Users/test/Rakefile:60:in `block in <top (required)>'
Tasks: TOP => pdf => book.pdf
(See full trace by running task with --trace)

TeX入れよう。

TechBoosterさんのREADMEにも書いてます。
https://github.com/TechBooster/FirstStepReVIEW#全員の原稿を-pdf-化

pdf を生成する場合は TeX のインストールが必須です。

image.png

http://tug.org/mactex/

3GBくらいあるので、気長に待ちましょう。(DLに3時間くらいかかりました・・・。)
pkgをinstallして、端末を再起動したら rake pdf でPDF生成できるようになりました。:tada: