Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-2629

Can't build site on Windows due to Nokogiri failing to install

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • asf-site

    Description

      I'm using Windows 10's bash support, and I'm having some trouble building the site since Nokogiri won't install.

      Running 'configure' for libxml2 2.9.2... ERROR, review
      '/tmp/bundler20170714-31-159r6j1nokogiri-1.6.7.2/gems/nokogiri-1.6.7.2/ext/nokogiri/tmp/x86_64-pc-linux-gnu/ports/libxml2/2.9.2/configure.log'
      to see what happened. Last lines are:
      ========================================================================
      checking build system type... ./config.guess: line 4: $'\r': command not found
      ./config.guess: line 6: $'\r': command not found
      ./config.guess: line 33: $'\r': command not found
      

      Upgrading Nokogiri fixes this issue, so I'd like to upgrade the gemfile to the latest version of github-pages, i.e. run "bundler update". As far as I can tell, we only need to make a small number of changes to get it working.

      • It seems like the meaning of the page variable in a layout has changed in Jekyll. _layouts/about.html should use layout to refer to it's own variables instead of page (which would belong to the concrete page being rendered). The other layouts don't refer to their own front matter, so there shouldn't be any issue there
      • Jekyll has made redcarpet an optional dependency, so the gemfile should list that dependency explicitly

      Attachments

        1. STORM-2629.patch
          8 kB
          Stig Rohde Døssing

        Issue Links

          Activity

            People

              srdo Stig Rohde Døssing
              srdo Stig Rohde Døssing
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: