From: Remco van 't Veer <remco@remworks.net>
To: 57083@debbugs.gnu.org, "Ségolène Métais" <segolene.metais@gmail.com>
Subject: bug#57083: Jekyll is unusable
Date: Mon, 15 Aug 2022 14:51:47 +0200 [thread overview]
Message-ID: <87o7wlacv0.fsf@remworks.net> (raw)
In-Reply-To: <CAFTHpcqiyPt6oKvdV1qK+SuNLzwjOMYE5RNh7tcCupVw=VAxYA@mail.gmail.com>
The jekyll packages is pretty minimal and the generated site by a
"jekyll new" requires more than supplied by the package. To get it to
work you either need to include the ruby package for bundler (as you
did), set GEM_HOME to some writable directory, and pull in the
development dependencies of ruby (to allow compilation of native code
gems). Or stay minimal, here's an example:
$ guix shell --pure jekyll -- jekyll new --skip-bundle testdir
New jekyll site installed in /home/me/tmp/testdir.
Bundle install skipped.
$ echo title: test title > testdir/_config.yml # drop theme and plugins
$ rm testdir/Gemfile # avoid bundler installing themes and plugins
$ echo test content >> testdir/index.markdown
$ guix shell --pure jekyll -- jekyll s --source=testdir
Configuration file: /home/me/tmp/testdir/_config.yml
Source: /home/me/tmp/testdir
Destination: /home/me/tmp/_site
Incremental build: disabled. Enable with --incremental
Generating...
Build Warning: Layout 'post' requested in _posts/2022-08-15-welcome-to-jekyll.markdown does not exist.
Build Warning: Layout 'default' requested in 404.html does not exist.
Build Warning: Layout 'page' requested in about.markdown does not exist.
Build Warning: Layout 'home' requested in index.markdown does not exist.
done in 0.156 seconds.
Auto-regeneration: enabled for 'testdir'
Server address: http://127.0.0.1:4000
Server running... press ctrl-c to stop.
I am not sure this is an issue because it does work for the minimal
approach. Unfortunately it does not really operate as expected. Maybe
the package should be altered to generate a minimal setup as in the
above example on "jekyll new"?
Cheers,
Remco
next prev parent reply other threads:[~2022-08-15 12:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-09 16:36 bug#57083: Jekyll is unusable Ségolène Métais
2022-08-15 12:51 ` Remco van 't Veer [this message]
[not found] ` <CAFTHpcovH=JWU2i7cVsYHrWZ0L8BQfrB01aVLKiCaUowUprMFA@mail.gmail.com>
2022-09-06 10:09 ` bug#57083: Fwd: " Ségolène Métais
2022-09-06 13:47 ` bug#57083: Closing Ségolène Métais
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o7wlacv0.fsf@remworks.net \
--to=remco@remworks.net \
--cc=57083@debbugs.gnu.org \
--cc=segolene.metais@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.