Skip to content

Instantly share code, notes, and snippets.

@deoren
Last active February 6, 2018 03:21
Show Gist options
  • Save deoren/e089f5f0698032d43452db4e0af003fc to your computer and use it in GitHub Desktop.
Save deoren/e089f5f0698032d43452db4e0af003fc to your computer and use it in GitHub Desktop.
Scratch notes for setting up/building Pro Git 2 book
sudo apt-get install build-essential curl git-core ruby ruby-dev zlib1g-dev ruby-bundler
git clone https://github.com/progit/progit2.git
cd progit2/
# Temp branch with Gemfile modified to use versions of gems that
# are known to generate valid epub output.
git checkout rework_files
bundle install --path vendor/bundle
# Build all formats
rake
# Build just epub
bundle exec asciidoctor-epub3 progit.asc
@deoren
Copy link
Author

deoren commented Jan 28, 2018

Related tickets (reminding me of specific issues preventing solid epub builds):

@deoren
Copy link
Author

deoren commented Jan 29, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment