chrisanthropic / Open-Publisher

Using Jekyll to create outputs that can be used as Pandoc inputs. In short - input markdown, output mobi, epub, pdf, and print-ready pdf. With a focus on fiction.
https://github.com/chrisanthropic/Open-Publisher/wiki
MIT License
244 stars 27 forks source link

Install Everything Locally with bundle fails - No Gemfile #16

Open gitfineon opened 6 years ago

gitfineon commented 6 years ago

Your wiki mentions bundle to install things locally but there is no Gemfile

$ bundle install --binstubs --path=vendor

Could not locate Gemfile

I did instead the following steps manually, but there still some stuff missing

$ ruby --version
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux-gnu]
$ sudo apt install jekyll
$ jekyll --version
jekyll 3.1.6
$ sudo apt install bundler
$ bundler --version
Bundler version 1.16.2
$ pandoc --version
pandoc 1.19.2.4
Compiled with pandoc-types 1.17.0.5, texmath 0.9.4.4, skylighting 0.3.3.1
$ sudo gem install rake
$ sudo gem install kindlegen
$ kindlegen

*************************************************************
 Amazon kindlegen(Linux) V2.9 build 1028-0897292 
 A command line e-book compiler 
 Copyright Amazon.com and its Affiliates 2014 
*************************************************************

Tried to create a book anyway:

$ bash new.sh create
$ bundle exec jekyll build
Configuration file: /home/cgr/gitfineon/Open-Publisher/_config.yml
            Source: Source
       Destination: /home/cgr/gitfineon/Open-Publisher/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
  Liquid Exception: Included file '_includes/amazon_review.md' not found in _includes/test/amazon.md, included in _layouts/test/amazon.md
jekyll 3.1.6 | Error:  Included file '_includes/amazon_review.md' not found
chrisanthropic commented 6 years ago

Thanks for reporting this, you're right, I'm missing the Gemfile. I just pushed it to Master. Please try again and let me know if fixes your problem.