Re: [gentoo-user] Anyone using www-apps/jekyll?

2021-10-27 Thread Jack

On 2021.10.27 09:59, Peter Humphrey wrote:

On Wednesday, 27 October 2021 14:44:09 BST Pascal Schorde wrote:

> did you have dev-ruby/rubygems installed? See
> https://jekyllrb.com/docs/#prerequisites

Yes, but at version 3.0:

$ eix dev-ruby/rubygems
[I] dev-ruby/rubygems
 Available versions:  3.0.3^t 3.0.9^t 3.1.6^t (~)3.2.14^t{tbz2}  
[M]

(~)3.2.22^t{tbz2} {server test RUBY_TARGETS="ruby26 ruby27 ruby30"}
 Installed versions:  3.2.14^t{tbz2}(09:19:26 10/26/21)(-server  
-test

RUBY_TARGETS="ruby26 ruby30 -ruby27")

One possibility occurred to me: is having two ruby versions installed  
at once
the problem? I already had 3.0 installed, the current Gentoo version,  
but
jekyll needs 2.6. To test this idea, I'd have to downgrade the whole  
system to

2.6; I don't know whether that's even feasible now.
Ruby is slotted, so you can have 2.6 and 3.0 installed together.  You  
would then need to rebuild rubygems to target both of them.  There is  
also a virtual/rubygems.  I'm not really sure of it's function, but it  
seems to just specify a minimum version of rubygems per targetted  
version of ruby.




Re: [gentoo-user] Anyone using www-apps/jekyll?

2021-10-27 Thread Peter Humphrey
On Wednesday, 27 October 2021 14:44:09 BST Pascal Schorde wrote:

> did you have dev-ruby/rubygems installed? See
> https://jekyllrb.com/docs/#prerequisites

Yes, but at version 3.0:

$ eix dev-ruby/rubygems
[I] dev-ruby/rubygems
 Available versions:  3.0.3^t 3.0.9^t 3.1.6^t (~)3.2.14^t{tbz2} [M]
(~)3.2.22^t{tbz2} {server test RUBY_TARGETS="ruby26 ruby27 ruby30"}
 Installed versions:  3.2.14^t{tbz2}(09:19:26 10/26/21)(-server -test 
RUBY_TARGETS="ruby26 ruby30 -ruby27")

One possibility occurred to me: is having two ruby versions installed at once 
the problem? I already had 3.0 installed, the current Gentoo version, but 
jekyll needs 2.6. To test this idea, I'd have to downgrade the whole system to 
2.6; I don't know whether that's even feasible now.

-- 
Regards,
Peter.






Re: [gentoo-user] Anyone using www-apps/jekyll?

2021-10-27 Thread Pascal Schorde
Hi Peter,

did you have dev-ruby/rubygems installed? See
https://jekyllrb.com/docs/#prerequisites

Cheers

Peter Humphrey  schrieb am Mi., 27. Okt. 2021, 15:36:

> On Wednesday, 27 October 2021 14:31:28 BST Peter Humphrey wrote:
>
> Sorry: The site is https://jekyllrb.com/docs/
>
> --
> Regards,
> Peter.
>
>
>
>
>


Re: [gentoo-user] Anyone using www-apps/jekyll?

2021-10-27 Thread Peter Humphrey
On Wednesday, 27 October 2021 14:31:28 BST Peter Humphrey wrote:

Sorry: The site is https://jekyllrb.com/docs/

-- 
Regards,
Peter.






Re: [gentoo-user] Anyone using www-apps/jekyll?

2021-10-27 Thread Peter Humphrey
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?

-- 
Regards,
Peter.