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

Reply via email to