All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: Thomas Huth <thuth@redhat.com>,
	qemu-devel@nongnu.org, "Daniel P. Berrange" <berrange@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>, John Snow <jsnow@redhat.com>
Subject: Re: [qemu-web PATCH] Gemfile: Add webrick bundle dependency
Date: Tue, 14 Sep 2021 08:31:07 +0200	[thread overview]
Message-ID: <a7b13816-fa42-8371-333f-5ee0a19917e8@redhat.com> (raw)
In-Reply-To: <9f52b00e-0189-8f44-96d4-cbb398c4514f@redhat.com>

On 9/14/21 7:17 AM, Thomas Huth wrote:
> On 13/09/2021 20.29, Philippe Mathieu-Daudé wrote:
>> Without the webrick bundle, jekyll fails to start:
>>
>>    $ bundle exec jekyll serve
>>    Ignoring ffi-1.11.1 because its extensions are not built. Try: gem
>> pristine ffi --version 1.11.1
>>    Configuration file: qemu-web/_config.yml
>>                Source: qemu-web
>>           Destination: qemu-web/_site
>>     Incremental build: disabled. Enable with --incremental
>>          Generating...
>>           Jekyll Feed: Generating feed for posts
>>                        done in 0.686 seconds.
>>     Auto-regeneration: enabled for 'qemu-web'
>>                        ------------------------------------------------
>>          Jekyll 4.0.1   Please append `--trace` to the `serve` command
>>                         for any additional information or backtrace.
>>                        ------------------------------------------------
>>   
>> qemu-web/vendor/ruby/3.0.0/gems/jekyll-4.0.1/lib/jekyll/commands/serve/servlet.rb:3:in
>> `require': cannot load such file -- webrick (LoadError)
>>            from
>> qemu-web/vendor/ruby/3.0.0/gems/jekyll-4.0.1/lib/jekyll/commands/serve/servlet.rb:3:in
>> `<top (required)>'
>>            from
>> qemu-web/vendor/ruby/3.0.0/gems/jekyll-4.0.1/lib/jekyll/commands/serve.rb:179:in
>> `require_relative'
>>            from
>> qemu-web/vendor/ruby/3.0.0/gems/jekyll-4.0.1/lib/jekyll/commands/serve.rb:179:in
>> `setup'
>>            from
>> qemu-web/vendor/ruby/3.0.0/gems/jekyll-4.0.1/lib/jekyll/commands/serve.rb:100:in
>> `process'
>>            from
>> qemu-web/vendor/ruby/3.0.0/gems/jekyll-4.0.1/lib/jekyll/command.rb:89:in
>> `block in process_with_graceful_fail'
>>            from
>> qemu-web/vendor/ruby/3.0.0/gems/jekyll-4.0.1/lib/jekyll/command.rb:89:in
>> `each'
>>            from
>> qemu-web/vendor/ruby/3.0.0/gems/jekyll-4.0.1/lib/jekyll/command.rb:89:in
>> `process_with_graceful_fail'
>>            from
>> qemu-web/vendor/ruby/3.0.0/gems/jekyll-4.0.1/lib/jekyll/commands/serve.rb:86:in
>> `block (2 levels) in init_with_program'
>>            from
>> qemu-web/vendor/ruby/3.0.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in
>> `block in execute'
>>            from
>> qemu-web/vendor/ruby/3.0.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in
>> `each'
>>            from
>> qemu-web/vendor/ruby/3.0.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in
>> `execute'
>>            from
>> qemu-web/vendor/ruby/3.0.0/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in
>> `go'
>>            from
>> qemu-web/vendor/ruby/3.0.0/gems/mercenary-0.3.6/lib/mercenary.rb:19:in
>> `program'
>>            from
>> qemu-web/vendor/ruby/3.0.0/gems/jekyll-4.0.1/exe/jekyll:15:in `<top
>> (required)>'
>>
>> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
>> ---
>>   Gemfile | 2 ++
>>   1 file changed, 2 insertions(+)
>>
>> diff --git a/Gemfile b/Gemfile
>> index 6a7852e..dc35cb7 100644
>> --- a/Gemfile
>> +++ b/Gemfile
>> @@ -25,3 +25,5 @@ end
>>     # for https://github.com/sass/sassc-ruby/issues/146
>>   gem "sassc", ">= 2.2.1"
>> +
>> +gem "webrick", "~> 1.7"
> 
> Daniel, is this fixing the jekyll problem for you, too?
> 
> I'm still on ruby 2.5.9 where this does not occur yet... might be good
> to mention that this is a new problem with ruby 3.0 in the cover letter.

I'll also mention I'm using Fedora 34.



  reply	other threads:[~2021-09-14  6:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-13 18:29 [qemu-web PATCH] Gemfile: Add webrick bundle dependency Philippe Mathieu-Daudé
2021-09-14  5:17 ` Thomas Huth
2021-09-14  6:31   ` Philippe Mathieu-Daudé [this message]
2021-09-14  8:21   ` Daniel P. Berrangé
2021-09-15 22:27     ` Paolo Bonzini
2021-09-16  4:24       ` Philippe Mathieu-Daudé
2021-09-16  4:55         ` Thomas Huth
2021-09-16  5:03           ` Philippe Mathieu-Daudé

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=a7b13816-fa42-8371-333f-5ee0a19917e8@redhat.com \
    --to=philmd@redhat.com \
    --cc=berrange@redhat.com \
    --cc=jsnow@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=thuth@redhat.com \
    /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 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.