From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id IOTBL3wnF2Oq6QAAbAwnHQ (envelope-from ) for ; Tue, 06 Sep 2022 12:57:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id ICvRLnwnF2P0RwEAG6o9tA (envelope-from ) for ; Tue, 06 Sep 2022 12:57:00 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 59A8F1D23C for ; Tue, 6 Sep 2022 12:56:59 +0200 (CEST) Received: from localhost ([::1]:60872 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVWGH-0000e1-UQ for larch@yhetil.org; Tue, 06 Sep 2022 06:56:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48822) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVVXq-0001xa-MY for bug-guix@gnu.org; Tue, 06 Sep 2022 06:11:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60929) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oVVXq-0003za-D1 for bug-guix@gnu.org; Tue, 06 Sep 2022 06:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oVVXq-0008W6-8H for bug-guix@gnu.org; Tue, 06 Sep 2022 06:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#57083: Fwd: Jekyll is unusable Resent-From: =?UTF-8?Q?S=C3=A9gol=C3=A8ne_?= =?UTF-8?Q?M=C3=A9tais?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 06 Sep 2022 10:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57083 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "Remco van 't Veer" , 57083@debbugs.gnu.org Received: via spool by 57083-submit@debbugs.gnu.org id=B57083.166245904332708 (code B ref 57083); Tue, 06 Sep 2022 10:11:02 +0000 Received: (at 57083) by debbugs.gnu.org; 6 Sep 2022 10:10:43 +0000 Received: from localhost ([127.0.0.1]:49628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVVXX-0008VT-Bk for submit@debbugs.gnu.org; Tue, 06 Sep 2022 06:10:43 -0400 Received: from mail-ej1-f51.google.com ([209.85.218.51]:35715) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVVXW-0008VF-0n for 57083@debbugs.gnu.org; Tue, 06 Sep 2022 06:10:42 -0400 Received: by mail-ej1-f51.google.com with SMTP id og21so22063260ejc.2 for <57083@debbugs.gnu.org>; Tue, 06 Sep 2022 03:10:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date; bh=PEQAG63TdY9rfjQxtj80Vkg20QZVlzkyD5qpBX6utyQ=; b=aOSVXlXfvBsbEZQZBRILjuDh8C3qeoVhB/mtgTBSVTcafdpheMWxqHS69d+Ufadg1r quwrftwOv9wkWqPdQzyBfR2SUkxR+eOkXaeoF/X2x7myAjvuYQrwtu4krTdy1c+A40MQ 2maeOhLIpDVPWkx5CHkVjI2ahhW0r/JPCybwggXXkxjgKhjCqH1cugMKkpNC6ZTCYdzM LlWgLutkYDP/3+JhUsw142DkMA5kxynAFDA6S14NvTM1LzgkxgjyXGzr/E2IcejdepXD ql5mt6FkG92YG9rrFgOgi9kwVZEvS6QWK5oyC4tkcKVRXYHbCs5gXbQz2b4EdSMouBhx WVPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date; bh=PEQAG63TdY9rfjQxtj80Vkg20QZVlzkyD5qpBX6utyQ=; b=6Nht9/o+i1yZaN0rWdP9KujEy7taUV4YfNC+zu5ATFCbi89Nr9yF8ZfFcwz8RMzFqb YVtPHfbHhvte79FqFvYIWtp7KcvknqFBAA9BhrVuWdKiOmWluIe7XL/R4q4/RKQZohLY 658fR/2C1YzcH+NGdSDDwfjqKOz77eQpXzDMWOuIPQLv4v95ZrIxvzmaRYrFXXhHmHI8 dWnKE0gixHZVz+byNSyoTUmfFYtmVoxrfpEfmtrFfMqqyfSxUsW475Q6qgjYMavclT5e UQvW0pCTkFIb+8uO3i9WOLMb09rxsZaXAjYpMiJp34z84YXHG93CRiLkcX71ZkPQFh24 vatQ== X-Gm-Message-State: ACgBeo3qWqrwB1vtz1hK1zS3braZ7yAusYEdJ+VcMMExf+6sk1y9GdUP 5c3kcSexcY8BbF5ms0sNUT0R+eP1madl08kC1Cw= X-Google-Smtp-Source: AA6agR5scWaJRujONocoby11y4twfJp4BufBLDGVaYn2i48cp9kQMFD2m0sfl7E81uEEix6OghV49n1McqtpGsLe4FU= X-Received: by 2002:a17:907:7215:b0:741:416f:fb59 with SMTP id dr21-20020a170907721500b00741416ffb59mr33123547ejc.150.1662459036140; Tue, 06 Sep 2022 03:10:36 -0700 (PDT) MIME-Version: 1.0 References: <87o7wlacv0.fsf@remworks.net> In-Reply-To: From: =?UTF-8?Q?S=C3=A9gol=C3=A8ne_?= =?UTF-8?Q?M=C3=A9tais?= Date: Tue, 6 Sep 2022 10:09:59 +0000 Message-ID: Content-Type: multipart/alternative; boundary="0000000000004d8df605e7ff6881" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662461819; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=PEQAG63TdY9rfjQxtj80Vkg20QZVlzkyD5qpBX6utyQ=; b=BZvj2AmTCEmh6ArDmtjZCQgJ3tvxV45Vi4+b7q25lX2wfRvh7F8JCytDtc02TQ49vVFly8 BoLuVPBFF5VinhdIqCzlmtGAnkFVrwtzghiIM2rCZJM+POfeRWglz3K4pb8+/k2UXqAi5N WjRF2BLXMKzVEdr5DCw2StgsgPYy+ENqtWZkVBE1wzkXpf6XqAFvOVHvZtAmMwWZ/kdAPD xDARev2zRQcXpRgHGDZwT+v6vPWE29fw2OagGXRwGOS7v72xq6ePSOPYWb6CLOKrzbleuU RWaJCfnbY+gnS9ep7zgGCxVpNAw99OcgQ0otFcPMjwnc/i+AdQ4REc9mXvVnmg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662461819; a=rsa-sha256; cv=none; b=dV5G40VPQIn/OAb67iC0dBeKA0pMF/CuFXJ8QWfDzwFah5P1Visa2W5gqKjWVAS0z9H8gy K2fbC0QBfM0AqrQcVBLxNaMxo3fALDSb+SIwswq+rWFYGzLre6FAxBupHMKHlaIXKVGQLe yLglFdgBVF8zs3uK1/4p08XFBounwhPl2dCkOC23/iaxVe3oZoZDkCriM0Gwc8ErpyMEbr oYdkhQWX6WOij6LJJiL9rPxP/u1orXehXGZk9n8mRCVtmXWGqwoVsvzEc9MAMgSV7fSh9H 0xlZWxR1wJpG61VcidItMLrTdDqIktOWsz+aRk+O+LUz4P9/8Ax58NbdIqBAZA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=aOSVXlXf; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 8.73 X-Spam: Yes Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=aOSVXlXf; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 59A8F1D23C X-Spam-Score: 8.73 X-Migadu-Spam: Yes X-Migadu-Scanner: scn1.migadu.com X-TUID: RsTYGTOYbX/s --0000000000004d8df605e7ff6881 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable (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=C3=A9gol=C3=A8ne Le lun. 15 ao=C3=BBt 2022 =C3=A0 12:51, Remco van 't Veer a =C3=A9crit : > > 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=3Dtestdir > 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 --0000000000004d8df605e7ff6881 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
(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 rubysego@pluto ~/job/site/www [env]$ jekyll new tmpdir
Running bundle inst= all in /home/sego/job/site/www/tmpdir...
New jekyll site installed in /h= ome/sego/job/site/www/tmpdir.
sego@pluto ~/job/site/www [env]$ cd tmpdir= /
sego@pluto ~/job/site/www/tmpdir [env]$ bundle add webrick
sego@plu= to ~/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=C3=A9gol=C3=A8n= e

Le lun. 15 ao=C3=BBt 2022 =C3=A0 12:51, Remco van 't Veer <= remco@remworks.net> a =C3=A9cr= it :
>
> The jekyll packages is pretty minimal and the generate= d site by a
> "jekyll new" requires more than supplied by t= he package.=C2=A0 To get it to
> work you either need to include the = ruby package for bundler (as you
> did), set GEM_HOME to some writabl= e directory, and pull in the
>
> development dependencies of ru= by (to allow compilation of native code
> gems).=C2=A0 Or stay minima= l, here's an example:
>
> =C2=A0 $ guix shell --pure jekyll= -- jekyll new --skip-bundle testdir
> =C2=A0 New jekyll site install= ed in /home/me/tmp/testdir.
> =C2=A0 Bundle install skipped.
> = =C2=A0 $ echo title: test title > testdir/_config.yml # drop theme and p= lugins
> =C2=A0 $ rm testdir/Gemfile # avoid bundler installing theme= s and plugins
> =C2=A0 $ echo test content >> testdir/index.mar= kdown
> =C2=A0 $ guix shell --pure jekyll -- jekyll s --source=3Dtest= dir
> =C2=A0 Configuration file: /home/me/tmp/testdir/_config.yml
= > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Source: /home/me/tmp/= testdir
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Destination: /home/me/tmp= /_site
> =C2=A0 =C2=A0Incremental build: disabled. Enable with --incr= emental
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 Generating...
> =C2=A0 = =C2=A0 =C2=A0 =C2=A0Build Warning: Layout 'post' requested in _post= s/2022-08-15-welcome-to-jekyll.markdown does not exist.
> =C2=A0 =C2= =A0 =C2=A0 =C2=A0Build Warning: Layout 'default' requested in 404.h= tml does not exist.
> =C2=A0 =C2=A0 =C2=A0 =C2=A0Build Warning: Layou= t 'page' requested in about.markdown does not exist.
> =C2=A0= =C2=A0 =C2=A0 =C2=A0Build Warning: Layout 'home' requested in inde= x.markdown does not exist.
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 done in 0.156 seconds.
> =C2= =A0 =C2=A0Auto-regeneration: enabled for 'testdir'
> =C2=A0 = =C2=A0 =C2=A0 Server address: http://127.= 0.0.1:4000
> =C2=A0 =C2=A0 Server running... press ctrl-c to stop= .
>
> I am not sure this is an issue because it does work for t= he minimal
> approach.=C2=A0 Unfortunately it does not really operate= as expected.=C2=A0 Maybe
> the package should be altered to generate= a minimal setup as in the
> above example on "jekyll new"?=
>
> Cheers,
> Remco
--0000000000004d8df605e7ff6881--