Asciidoc hugo site with netlify











up vote
0
down vote

favorite












I want to build a hugo site with asciidoc content and host it in netlify. I was able to run the site locally after installing ascii and asciidoctor in my windows machine.



gem install asciidoc
gem install asciidoc


Prior to this, I got below error in my console and no content in the browser.



ERROR 2018/11/11 03:05:08 asciidoctor / asciidoc not found in $PATH: Please install.
8:35:09 AM: Leaving AsciiDoc content unrendered.
8:35:09 AM: ERROR 2018/11/11 03:05:08 asciidoctor / asciidoc not found in $PATH: Please install.
8:35:09 AM: Leaving AsciiDoc content unrendered.
8:35:09 AM: ERROR 2018/11/11 03:05:08 asciidoctor / asciidoc not found in $PATH: Please install.
8:35:09 AM: Leaving AsciiDoc content unrendered.


Now m getting the same error in netlify site build and it's getting failed during deployment.



Can someone please suggest any missing additional setup or configuration?










share|improve this question




























    up vote
    0
    down vote

    favorite












    I want to build a hugo site with asciidoc content and host it in netlify. I was able to run the site locally after installing ascii and asciidoctor in my windows machine.



    gem install asciidoc
    gem install asciidoc


    Prior to this, I got below error in my console and no content in the browser.



    ERROR 2018/11/11 03:05:08 asciidoctor / asciidoc not found in $PATH: Please install.
    8:35:09 AM: Leaving AsciiDoc content unrendered.
    8:35:09 AM: ERROR 2018/11/11 03:05:08 asciidoctor / asciidoc not found in $PATH: Please install.
    8:35:09 AM: Leaving AsciiDoc content unrendered.
    8:35:09 AM: ERROR 2018/11/11 03:05:08 asciidoctor / asciidoc not found in $PATH: Please install.
    8:35:09 AM: Leaving AsciiDoc content unrendered.


    Now m getting the same error in netlify site build and it's getting failed during deployment.



    Can someone please suggest any missing additional setup or configuration?










    share|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I want to build a hugo site with asciidoc content and host it in netlify. I was able to run the site locally after installing ascii and asciidoctor in my windows machine.



      gem install asciidoc
      gem install asciidoc


      Prior to this, I got below error in my console and no content in the browser.



      ERROR 2018/11/11 03:05:08 asciidoctor / asciidoc not found in $PATH: Please install.
      8:35:09 AM: Leaving AsciiDoc content unrendered.
      8:35:09 AM: ERROR 2018/11/11 03:05:08 asciidoctor / asciidoc not found in $PATH: Please install.
      8:35:09 AM: Leaving AsciiDoc content unrendered.
      8:35:09 AM: ERROR 2018/11/11 03:05:08 asciidoctor / asciidoc not found in $PATH: Please install.
      8:35:09 AM: Leaving AsciiDoc content unrendered.


      Now m getting the same error in netlify site build and it's getting failed during deployment.



      Can someone please suggest any missing additional setup or configuration?










      share|improve this question















      I want to build a hugo site with asciidoc content and host it in netlify. I was able to run the site locally after installing ascii and asciidoctor in my windows machine.



      gem install asciidoc
      gem install asciidoc


      Prior to this, I got below error in my console and no content in the browser.



      ERROR 2018/11/11 03:05:08 asciidoctor / asciidoc not found in $PATH: Please install.
      8:35:09 AM: Leaving AsciiDoc content unrendered.
      8:35:09 AM: ERROR 2018/11/11 03:05:08 asciidoctor / asciidoc not found in $PATH: Please install.
      8:35:09 AM: Leaving AsciiDoc content unrendered.
      8:35:09 AM: ERROR 2018/11/11 03:05:08 asciidoctor / asciidoc not found in $PATH: Please install.
      8:35:09 AM: Leaving AsciiDoc content unrendered.


      Now m getting the same error in netlify site build and it's getting failed during deployment.



      Can someone please suggest any missing additional setup or configuration?







      rubygems hugo netlify






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 11 at 5:31









      Eternal_flame-AD

      3126




      3126










      asked Nov 11 at 3:26









      Sudip7

      85732033




      85732033
























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          Make sure to add your /Gemfile and /Gemfile.lock to your project root for asciidoc. Netlify uses them to identify that the build needs Ruby included.



          Gemfile (example)



          source 'https://rubygems.org'
          gem 'asciidoc'


          You can use bundle install locally to create Gemfile.lock from a Gemfile



          $ gem install bundler
          $ bundle install


          You can also set Ruby version via a /.ruby-version file. See docs for supported Ruby versions on Netlify.






          share|improve this answer





















          • Thanks. This is a experimental site for personal use. What factors should be considered for choosing the version for Hugo and ruby and how it's going to affect the current or future build.
            – Sudip7
            Nov 11 at 22:44










          • Those are going to be the versions that your app supports. I cannot answer that question for you. But I would suggest you try to use the latest stable releases.
            – talves
            Nov 12 at 0:19











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














           

          draft saved


          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53245578%2fasciidoc-hugo-site-with-netlify%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote













          Make sure to add your /Gemfile and /Gemfile.lock to your project root for asciidoc. Netlify uses them to identify that the build needs Ruby included.



          Gemfile (example)



          source 'https://rubygems.org'
          gem 'asciidoc'


          You can use bundle install locally to create Gemfile.lock from a Gemfile



          $ gem install bundler
          $ bundle install


          You can also set Ruby version via a /.ruby-version file. See docs for supported Ruby versions on Netlify.






          share|improve this answer





















          • Thanks. This is a experimental site for personal use. What factors should be considered for choosing the version for Hugo and ruby and how it's going to affect the current or future build.
            – Sudip7
            Nov 11 at 22:44










          • Those are going to be the versions that your app supports. I cannot answer that question for you. But I would suggest you try to use the latest stable releases.
            – talves
            Nov 12 at 0:19















          up vote
          0
          down vote













          Make sure to add your /Gemfile and /Gemfile.lock to your project root for asciidoc. Netlify uses them to identify that the build needs Ruby included.



          Gemfile (example)



          source 'https://rubygems.org'
          gem 'asciidoc'


          You can use bundle install locally to create Gemfile.lock from a Gemfile



          $ gem install bundler
          $ bundle install


          You can also set Ruby version via a /.ruby-version file. See docs for supported Ruby versions on Netlify.






          share|improve this answer





















          • Thanks. This is a experimental site for personal use. What factors should be considered for choosing the version for Hugo and ruby and how it's going to affect the current or future build.
            – Sudip7
            Nov 11 at 22:44










          • Those are going to be the versions that your app supports. I cannot answer that question for you. But I would suggest you try to use the latest stable releases.
            – talves
            Nov 12 at 0:19













          up vote
          0
          down vote










          up vote
          0
          down vote









          Make sure to add your /Gemfile and /Gemfile.lock to your project root for asciidoc. Netlify uses them to identify that the build needs Ruby included.



          Gemfile (example)



          source 'https://rubygems.org'
          gem 'asciidoc'


          You can use bundle install locally to create Gemfile.lock from a Gemfile



          $ gem install bundler
          $ bundle install


          You can also set Ruby version via a /.ruby-version file. See docs for supported Ruby versions on Netlify.






          share|improve this answer












          Make sure to add your /Gemfile and /Gemfile.lock to your project root for asciidoc. Netlify uses them to identify that the build needs Ruby included.



          Gemfile (example)



          source 'https://rubygems.org'
          gem 'asciidoc'


          You can use bundle install locally to create Gemfile.lock from a Gemfile



          $ gem install bundler
          $ bundle install


          You can also set Ruby version via a /.ruby-version file. See docs for supported Ruby versions on Netlify.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 11 at 17:59









          talves

          5,05811131




          5,05811131












          • Thanks. This is a experimental site for personal use. What factors should be considered for choosing the version for Hugo and ruby and how it's going to affect the current or future build.
            – Sudip7
            Nov 11 at 22:44










          • Those are going to be the versions that your app supports. I cannot answer that question for you. But I would suggest you try to use the latest stable releases.
            – talves
            Nov 12 at 0:19


















          • Thanks. This is a experimental site for personal use. What factors should be considered for choosing the version for Hugo and ruby and how it's going to affect the current or future build.
            – Sudip7
            Nov 11 at 22:44










          • Those are going to be the versions that your app supports. I cannot answer that question for you. But I would suggest you try to use the latest stable releases.
            – talves
            Nov 12 at 0:19
















          Thanks. This is a experimental site for personal use. What factors should be considered for choosing the version for Hugo and ruby and how it's going to affect the current or future build.
          – Sudip7
          Nov 11 at 22:44




          Thanks. This is a experimental site for personal use. What factors should be considered for choosing the version for Hugo and ruby and how it's going to affect the current or future build.
          – Sudip7
          Nov 11 at 22:44












          Those are going to be the versions that your app supports. I cannot answer that question for you. But I would suggest you try to use the latest stable releases.
          – talves
          Nov 12 at 0:19




          Those are going to be the versions that your app supports. I cannot answer that question for you. But I would suggest you try to use the latest stable releases.
          – talves
          Nov 12 at 0:19


















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53245578%2fasciidoc-hugo-site-with-netlify%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Full-time equivalent

          Bicuculline

          さくらももこ