From: "Ségolène Métais" <segolene.metais@gmail.com>
To: "Remco van 't Veer" <remco@remworks.net>, 57083@debbugs.gnu.org
Subject: bug#57083: Fwd: Jekyll is unusable
Date: Tue, 6 Sep 2022 10:09:59 +0000 [thread overview]
Message-ID: <CAFTHpcqJwaSsZzoij4Tx=cSrJ8Uxbj7radGxWEi67HvSDFme7Q@mail.gmail.com> (raw)
In-Reply-To: <CAFTHpcovH=JWU2i7cVsYHrWZ0L8BQfrB01aVLKiCaUowUprMFA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2822 bytes --]
(I send this message again because it does not appear in the archive).
Hello,
Thank you Remco for your help. I was able to run jekyll without and with
bundle using your instructions.
I am not sure what should be done with the package.
To use Jekyll with bundle, here are the details in case someone would get
stucked:
sego@pluto ~/job/site/www$ guix shell jekyll ruby -D ruby
sego@pluto ~/job/site/www [env]$ jekyll new tmpdir
Running bundle install in /home/sego/job/site/www/tmpdir...
New jekyll site installed in /home/sego/job/site/www/tmpdir.
sego@pluto ~/job/site/www [env]$ cd tmpdir/
sego@pluto ~/job/site/www/tmpdir [env]$ bundle add webrick
sego@pluto ~/job/site/www/tmpdir [env]$ bundle exec jekyll serve
[...]
Server address: http://127.0.0.1:4000/
Server running... press ctrl-c to stop.
Cheers,
Ségolène
Le lun. 15 août 2022 à 12:51, Remco van 't Veer <remco@remworks.net> a
écrit :
>
> 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
[-- Attachment #2: Type: text/html, Size: 3352 bytes --]
next prev parent reply other threads:[~2022-09-06 10:57 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
[not found] ` <CAFTHpcovH=JWU2i7cVsYHrWZ0L8BQfrB01aVLKiCaUowUprMFA@mail.gmail.com>
2022-09-06 10:09 ` Ségolène Métais [this message]
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='CAFTHpcqJwaSsZzoij4Tx=cSrJ8Uxbj7radGxWEi67HvSDFme7Q@mail.gmail.com' \
--to=segolene.metais@gmail.com \
--cc=57083@debbugs.gnu.org \
--cc=remco@remworks.net \
/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.