Description
Which version of the book is affected?
Problem will be present on all future builds/releases once the Travis CI cache is expired. Problem is with source files.
Describe the bug:
The 'kindlegen' binary that we depend on to build/validate the Kindle files is no longer available to download from the rubygems.org website. Because this dependency is no longer available, Travis CI cannot build new releases of the book.
I'm specifically talking about this entry in the Gemfile:
Line 16 in 8b361da
Steps to reproduce:
- Try to run a build on Travis CI.
- Build fails with:
mAn error occurred while installing kindlegen (3.0.5), and Bundler
cannot continue.
Make sure that `gem install kindlegen -v '3.0.5' --source
'https://rubygems.org/'` succeeds before bundling.
In Gemfile:
kindlegen
The command "bundle install" failed and exited with 5 during .
Example of failed build: https://travis-ci.org/github/HonkingGoose/progit2/builds/721079601
Expected behavior:
Build passes.
Screenshots:
Additional context:
Upstream issue reports: tdtds/kindlegen#42 asciidoctor/asciidoctor-epub3#363
We also have some other issues outstanding with dependencies at: #1373 #1358
Amazon says to use Kindle Previewer instead, to get the same functionality:
https://www.amazon.com/gp/feature.html?docId=1000765211
This will not work for our project, as according to @slonopotamus the Kindle Previewer does not exist for Linux.
This problem is also present when I try to download the Kindlegen dependency locally. So it's not just Travis CI that's broken...