Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bundle exec jekyll build is failed #157

Open
syutadeveloper opened this issue Apr 7, 2023 · 0 comments
Open

bundle exec jekyll build is failed #157

syutadeveloper opened this issue Apr 7, 2023 · 0 comments

Comments

@syutadeveloper
Copy link
Contributor

I tried to bulid/run jekyll to check my article which is Call For Host openSUSE.Asia Summit 2023.
But it had error.

Do I miss anything else?

environment

openSUSE Leap 15.4

reproduce

$ git clone https://github.com/openSUSE/news-o-o.git
$ docker run -it -v $(pwd)/news-o-o:/mnt/news -p 4000:4000 ruby sh
# cd mnt/news
# bundle install --path vendor/bundle
# bundle exec jekyll build

error message

sorry for long....

Configuration file: /mnt/news/_config.yml
            Source: /mnt/news
       Destination: /mnt/news/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
  Liquid Exception: undefined method `tainted?' for "":String in /mnt/news/_layouts/post.html
                    ------------------------------------------------
      Jekyll 4.1.0   Please append `--trace` to the `build` command 
                     for any additional information or backtrace. 
                    ------------------------------------------------
/mnt/news/vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/variable.rb:124:in `taint_check': undefined method `tainted?' for "":String (NoMethodError)

      return unless obj.tainted?
                       ^^^^^^^^^
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/variable.rb:89:in `render'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/block_body.rb:103:in `render_node_to_output'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/block_body.rb:80:in `render'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/template.rb:208:in `block in render'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/template.rb:242:in `with_profiling'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/template.rb:207:in `render'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/liquid-4.0.3/lib/liquid/template.rb:220:in `render!'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:39:in `block (3 levels) in render!'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:59:in `measure_counts'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:38:in `block (2 levels) in render!'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:63:in `measure_bytes'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:37:in `block in render!'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:70:in `measure_time'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/jekyll-4.1.0/lib/jekyll/liquid_renderer/file.rb:36:in `render!'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/jekyll-4.1.0/lib/jekyll/renderer.rb:127:in `render_liquid'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/jekyll-4.1.0/lib/jekyll/renderer.rb:190:in `render_layout'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/jekyll-4.1.0/lib/jekyll/renderer.rb:159:in `place_in_layouts'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/jekyll-4.1.0/lib/jekyll/renderer.rb:89:in `render_document'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/jekyll-4.1.0/lib/jekyll/renderer.rb:63:in `run'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/jekyll-4.1.0/lib/jekyll/site.rb:532:in `render_regenerated'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/jekyll-4.1.0/lib/jekyll/site.rb:517:in `block (2 levels) in render_docs'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/jekyll-4.1.0/lib/jekyll/site.rb:516:in `each'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/jekyll-4.1.0/lib/jekyll/site.rb:516:in `block in render_docs'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/jekyll-4.1.0/lib/jekyll/site.rb:515:in `each_value'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/jekyll-4.1.0/lib/jekyll/site.rb:515:in `render_docs'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/jekyll-4.1.0/lib/jekyll/site.rb:207:in `render'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/jekyll-4.1.0/lib/jekyll/site.rb:80:in `process'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/jekyll-4.1.0/lib/jekyll/command.rb:28:in `process_site'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/jekyll-4.1.0/lib/jekyll/commands/build.rb:65:in `build'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/jekyll-4.1.0/lib/jekyll/commands/build.rb:36:in `process'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/jekyll-4.1.0/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/jekyll-4.1.0/lib/jekyll/command.rb:91:in `each'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/jekyll-4.1.0/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/jekyll-4.1.0/lib/jekyll/commands/build.rb:18:in `block (2 levels) in init_with_program'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
        from /mnt/news/vendor/bundle/ruby/3.2.0/gems/jekyll-4.1.0/exe/jekyll:15:in `<top (required)>'
        from /mnt/news/vendor/bundle/ruby/3.2.0/bin/jekyll:25:in `load'
        from /mnt/news/vendor/bundle/ruby/3.2.0/bin/jekyll:25:in `<top (required)>'
        from /usr/local/lib/ruby/3.2.0/bundler/cli/exec.rb:58:in `load'
        from /usr/local/lib/ruby/3.2.0/bundler/cli/exec.rb:58:in `kernel_load'
        from /usr/local/lib/ruby/3.2.0/bundler/cli/exec.rb:23:in `run'
        from /usr/local/lib/ruby/3.2.0/bundler/cli.rb:492:in `exec'
        from /usr/local/lib/ruby/3.2.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
        from /usr/local/lib/ruby/3.2.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
        from /usr/local/lib/ruby/3.2.0/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
        from /usr/local/lib/ruby/3.2.0/bundler/cli.rb:34:in `dispatch'
        from /usr/local/lib/ruby/3.2.0/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
        from /usr/local/lib/ruby/3.2.0/bundler/cli.rb:28:in `start'
        from /usr/local/lib/ruby/gems/3.2.0/gems/bundler-2.4.10/libexec/bundle:45:in `block in <top (required)>'
        from /usr/local/lib/ruby/3.2.0/bundler/friendly_errors.rb:117:in `with_friendly_errors'
        from /usr/local/lib/ruby/gems/3.2.0/gems/bundler-2.4.10/libexec/bundle:33:in `<top (required)>'
        from /usr/local/bin/bundle:25:in `load'
        from /usr/local/bin/bundle:25:in `<main>'

I couldn't run it on Leap 15.4 because of nokogiri ver.
so I did it on docker.

thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant