public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alec Ten Harmsel" <alec@alectenharmsel.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Anyone using www-apps/jekyll?
Date: Thu, 28 Oct 2021 08:34:49 -0400	[thread overview]
Message-ID: <66b22cbb-ca4f-4728-8da7-4a0c6692192f@www.fastmail.com> (raw)
In-Reply-To: <5761143.lOV4Wx5bFT@wstn>

Hi Peter,

On Wed, Oct 27, 2021, at 09:31, Peter Humphrey wrote:
> On Thursday, 21 October 2021 17:11:27 BST Peter Humphrey wrote:
>> Hello list,
>> 
>> I wanted to try this package to create a small site for myself, but I'm
>> falling at the second hurdle (the first was setting package.env etc to pull
>> in ruby26 as well as the currently installed ruby30).
>> 
>> Does anyone have experience with this builder? I'd like to find out where
>> I'm going wrong first.
>
> I'm still not getting through the installation of jekyll. The website[1] says 
> to follow the instructions for Ubuntu, but something's lacking. For one thing, 
> it says to include ~/gems/bin in my PATH, but there isn't one. I looked for 
> something similar under / but nothing turned up.
>
> I followed the instructions to install jekyll and its dependencies, then:
> $ gem install jekyll bundler
> which went fine, but this failed with a bunch of not-found errors, including 
> jekyll itself:
> $ jekyll new myblog
>
> Am I still missing a component, or something?

I got jekyll installed via portage by adding:

    dev-ruby/* ~amd64
    www-apps/jekyll ~amd64
    www-apps/jekyll-* ~amd64

to package.accept_keywords, and then running `emerge www-apps/jekyll'. This is on stable, with a tree that is a couple weeks old for what it's worth. Then `jekyll new testsite && bundle exec jekyll serve' works for me.

You could also try using jekyll outside of portage:

    mkdir mysite && cd mysite
    bundle init
    bundle config set path 'vendor/bundle'
    bundle add jekyll
    bundle exec jekyll new --force .
    rm Gemfile.lock
    rm -rf ./vendor/bundle
    bundle config set path 'vendor/bundle'
    bundle install
    bundle exec jekyll serve

And then continue following other jekyll instructions as needed. You'll have to use `bundle exec jekyll ...' to run jekyll - you won't be able to run jekyll directly.

Hope this helps,

Alec


  parent reply	other threads:[~2021-10-28 12:35 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-21 16:11 [gentoo-user] Anyone using www-apps/jekyll? Peter Humphrey
2021-10-21 20:22 ` Andreas K. Huettel
2021-10-22  9:05   ` Peter Humphrey
2021-10-27 13:31 ` Peter Humphrey
2021-10-27 13:36   ` Peter Humphrey
2021-10-27 13:44     ` Pascal Schorde
2021-10-27 13:59       ` Peter Humphrey
2021-10-27 16:25         ` Jack
2021-10-28  8:22           ` Peter Humphrey
2021-10-28  8:53         ` Peter Humphrey
2021-10-28 11:08           ` Dr Rainer Woitok
2021-10-28 12:50             ` Peter Humphrey
2021-10-28 12:34   ` Alec Ten Harmsel [this message]
2021-10-28 13:25     ` Peter Humphrey
2021-10-28 13:42       ` Alec Ten Harmsel
2021-10-28 14:55         ` Peter Humphrey
2021-10-28 20:54   ` Jack
2021-10-29 14:22     ` Peter Humphrey
2021-11-01 14:31     ` Peter Humphrey

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=66b22cbb-ca4f-4728-8da7-4a0c6692192f@www.fastmail.com \
    --to=alec@alectenharmsel.com \
    --cc=gentoo-user@lists.gentoo.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox