Problem running in Jekyll. Installation












1















I have installed Ruby, RubyGems and then Jekyll, but when I run Jekyll I'm getting this error.



$ jekyll serve
/var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:365:in `require_program': program version required (Commander::Runner::CommandError)
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:364:in `each'
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:364:in `require_program'
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:52:in `run!'
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/delegates.rb:7:in `run!'
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/import.rb:10
from /usr/local/bin/jekyll:19
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- json (LoadError)
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.8/gems/jekyll-1.3.0/bin/../lib/jekyll/filters.rb:2
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.8/gems/jekyll-1.3.0/bin/../lib/jekyll.rb:43
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.8/gems/jekyll-1.3.0/bin/jekyll:7
from /usr/local/bin/jekyll:19:in `load'
from /usr/local/bin/jekyll:19
somasundaram@somasundaram-Inspiron-3521:~/allfiles/msomu/msomu.github.io$ ^C
somasundaram@somasundaram-Inspiron-3521:~/allfiles/msomu/msomu.github.io$ jekyll/var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:365:in `require_program': program version required (Commander::Runner::CommandError)
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:364:in `each'
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:364:in `require_program'
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:52:in `run!'
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/delegates.rb:7:in `run!'
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/import.rb:10
from /usr/local/bin/jekyll:19
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- json (LoadError)
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.8/gems/jekyll-1.3.0/bin/../lib/jekyll/filters.rb:2
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.8/gems/jekyll-1.3.0/bin/../lib/jekyll.rb:43
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.8/gems/jekyll-1.3.0/bin/jekyll:7
from /usr/local/bin/jekyll:19:in `load'
from /usr/local/bin/jekyll:19


Also if there is no way to fix it please help me if someone tells me how to completely remove Ruby, RubyGems Jekyll and fresh install it or fix this error.










share|improve this question























  • So are you on a mac? Did you install xcode command line tools?

    – aharris88
    Nov 23 '13 at 22:38











  • I'm using Ubuntu 12.04 LTS on Dell

    – Somasundaram Mahesh
    Nov 24 '13 at 15:40











  • Did you run "jekyll build" first?

    – aharris88
    Nov 24 '13 at 23:30











  • Same problem on Centos 6.4, will come back here if I find something.

    – Kev
    Nov 25 '13 at 11:51











  • To solve this error I have reinstalled ruby completely, using RVM this time. I'm on centos but I'll write a summary of the commands I've ran, that could be useful to someone: curl -L get.rvm.io | bash -s stable source /etc/profile.d/rvm.sh // this can change rvm requirements rvm install ruby-2.0.0-p353 rvm use 2.0.0 --default rvm rubygems current

    – Kev
    Nov 25 '13 at 12:20


















1















I have installed Ruby, RubyGems and then Jekyll, but when I run Jekyll I'm getting this error.



$ jekyll serve
/var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:365:in `require_program': program version required (Commander::Runner::CommandError)
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:364:in `each'
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:364:in `require_program'
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:52:in `run!'
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/delegates.rb:7:in `run!'
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/import.rb:10
from /usr/local/bin/jekyll:19
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- json (LoadError)
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.8/gems/jekyll-1.3.0/bin/../lib/jekyll/filters.rb:2
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.8/gems/jekyll-1.3.0/bin/../lib/jekyll.rb:43
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.8/gems/jekyll-1.3.0/bin/jekyll:7
from /usr/local/bin/jekyll:19:in `load'
from /usr/local/bin/jekyll:19
somasundaram@somasundaram-Inspiron-3521:~/allfiles/msomu/msomu.github.io$ ^C
somasundaram@somasundaram-Inspiron-3521:~/allfiles/msomu/msomu.github.io$ jekyll/var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:365:in `require_program': program version required (Commander::Runner::CommandError)
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:364:in `each'
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:364:in `require_program'
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:52:in `run!'
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/delegates.rb:7:in `run!'
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/import.rb:10
from /usr/local/bin/jekyll:19
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- json (LoadError)
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.8/gems/jekyll-1.3.0/bin/../lib/jekyll/filters.rb:2
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.8/gems/jekyll-1.3.0/bin/../lib/jekyll.rb:43
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.8/gems/jekyll-1.3.0/bin/jekyll:7
from /usr/local/bin/jekyll:19:in `load'
from /usr/local/bin/jekyll:19


Also if there is no way to fix it please help me if someone tells me how to completely remove Ruby, RubyGems Jekyll and fresh install it or fix this error.










share|improve this question























  • So are you on a mac? Did you install xcode command line tools?

    – aharris88
    Nov 23 '13 at 22:38











  • I'm using Ubuntu 12.04 LTS on Dell

    – Somasundaram Mahesh
    Nov 24 '13 at 15:40











  • Did you run "jekyll build" first?

    – aharris88
    Nov 24 '13 at 23:30











  • Same problem on Centos 6.4, will come back here if I find something.

    – Kev
    Nov 25 '13 at 11:51











  • To solve this error I have reinstalled ruby completely, using RVM this time. I'm on centos but I'll write a summary of the commands I've ran, that could be useful to someone: curl -L get.rvm.io | bash -s stable source /etc/profile.d/rvm.sh // this can change rvm requirements rvm install ruby-2.0.0-p353 rvm use 2.0.0 --default rvm rubygems current

    – Kev
    Nov 25 '13 at 12:20
















1












1








1


1






I have installed Ruby, RubyGems and then Jekyll, but when I run Jekyll I'm getting this error.



$ jekyll serve
/var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:365:in `require_program': program version required (Commander::Runner::CommandError)
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:364:in `each'
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:364:in `require_program'
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:52:in `run!'
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/delegates.rb:7:in `run!'
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/import.rb:10
from /usr/local/bin/jekyll:19
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- json (LoadError)
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.8/gems/jekyll-1.3.0/bin/../lib/jekyll/filters.rb:2
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.8/gems/jekyll-1.3.0/bin/../lib/jekyll.rb:43
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.8/gems/jekyll-1.3.0/bin/jekyll:7
from /usr/local/bin/jekyll:19:in `load'
from /usr/local/bin/jekyll:19
somasundaram@somasundaram-Inspiron-3521:~/allfiles/msomu/msomu.github.io$ ^C
somasundaram@somasundaram-Inspiron-3521:~/allfiles/msomu/msomu.github.io$ jekyll/var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:365:in `require_program': program version required (Commander::Runner::CommandError)
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:364:in `each'
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:364:in `require_program'
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:52:in `run!'
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/delegates.rb:7:in `run!'
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/import.rb:10
from /usr/local/bin/jekyll:19
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- json (LoadError)
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.8/gems/jekyll-1.3.0/bin/../lib/jekyll/filters.rb:2
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.8/gems/jekyll-1.3.0/bin/../lib/jekyll.rb:43
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.8/gems/jekyll-1.3.0/bin/jekyll:7
from /usr/local/bin/jekyll:19:in `load'
from /usr/local/bin/jekyll:19


Also if there is no way to fix it please help me if someone tells me how to completely remove Ruby, RubyGems Jekyll and fresh install it or fix this error.










share|improve this question














I have installed Ruby, RubyGems and then Jekyll, but when I run Jekyll I'm getting this error.



$ jekyll serve
/var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:365:in `require_program': program version required (Commander::Runner::CommandError)
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:364:in `each'
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:364:in `require_program'
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:52:in `run!'
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/delegates.rb:7:in `run!'
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/import.rb:10
from /usr/local/bin/jekyll:19
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- json (LoadError)
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.8/gems/jekyll-1.3.0/bin/../lib/jekyll/filters.rb:2
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.8/gems/jekyll-1.3.0/bin/../lib/jekyll.rb:43
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.8/gems/jekyll-1.3.0/bin/jekyll:7
from /usr/local/bin/jekyll:19:in `load'
from /usr/local/bin/jekyll:19
somasundaram@somasundaram-Inspiron-3521:~/allfiles/msomu/msomu.github.io$ ^C
somasundaram@somasundaram-Inspiron-3521:~/allfiles/msomu/msomu.github.io$ jekyll/var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:365:in `require_program': program version required (Commander::Runner::CommandError)
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:364:in `each'
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:364:in `require_program'
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/runner.rb:52:in `run!'
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/delegates.rb:7:in `run!'
from /var/lib/gems/1.8/gems/commander-4.1.5/lib/commander/import.rb:10
from /usr/local/bin/jekyll:19
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require': no such file to load -- json (LoadError)
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.8/gems/jekyll-1.3.0/bin/../lib/jekyll/filters.rb:2
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.8/gems/jekyll-1.3.0/bin/../lib/jekyll.rb:43
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
from /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require'
from /var/lib/gems/1.8/gems/jekyll-1.3.0/bin/jekyll:7
from /usr/local/bin/jekyll:19:in `load'
from /usr/local/bin/jekyll:19


Also if there is no way to fix it please help me if someone tells me how to completely remove Ruby, RubyGems Jekyll and fresh install it or fix this error.







jekyll






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 23 '13 at 7:44









Somasundaram MaheshSomasundaram Mahesh

1065




1065













  • So are you on a mac? Did you install xcode command line tools?

    – aharris88
    Nov 23 '13 at 22:38











  • I'm using Ubuntu 12.04 LTS on Dell

    – Somasundaram Mahesh
    Nov 24 '13 at 15:40











  • Did you run "jekyll build" first?

    – aharris88
    Nov 24 '13 at 23:30











  • Same problem on Centos 6.4, will come back here if I find something.

    – Kev
    Nov 25 '13 at 11:51











  • To solve this error I have reinstalled ruby completely, using RVM this time. I'm on centos but I'll write a summary of the commands I've ran, that could be useful to someone: curl -L get.rvm.io | bash -s stable source /etc/profile.d/rvm.sh // this can change rvm requirements rvm install ruby-2.0.0-p353 rvm use 2.0.0 --default rvm rubygems current

    – Kev
    Nov 25 '13 at 12:20





















  • So are you on a mac? Did you install xcode command line tools?

    – aharris88
    Nov 23 '13 at 22:38











  • I'm using Ubuntu 12.04 LTS on Dell

    – Somasundaram Mahesh
    Nov 24 '13 at 15:40











  • Did you run "jekyll build" first?

    – aharris88
    Nov 24 '13 at 23:30











  • Same problem on Centos 6.4, will come back here if I find something.

    – Kev
    Nov 25 '13 at 11:51











  • To solve this error I have reinstalled ruby completely, using RVM this time. I'm on centos but I'll write a summary of the commands I've ran, that could be useful to someone: curl -L get.rvm.io | bash -s stable source /etc/profile.d/rvm.sh // this can change rvm requirements rvm install ruby-2.0.0-p353 rvm use 2.0.0 --default rvm rubygems current

    – Kev
    Nov 25 '13 at 12:20



















So are you on a mac? Did you install xcode command line tools?

– aharris88
Nov 23 '13 at 22:38





So are you on a mac? Did you install xcode command line tools?

– aharris88
Nov 23 '13 at 22:38













I'm using Ubuntu 12.04 LTS on Dell

– Somasundaram Mahesh
Nov 24 '13 at 15:40





I'm using Ubuntu 12.04 LTS on Dell

– Somasundaram Mahesh
Nov 24 '13 at 15:40













Did you run "jekyll build" first?

– aharris88
Nov 24 '13 at 23:30





Did you run "jekyll build" first?

– aharris88
Nov 24 '13 at 23:30













Same problem on Centos 6.4, will come back here if I find something.

– Kev
Nov 25 '13 at 11:51





Same problem on Centos 6.4, will come back here if I find something.

– Kev
Nov 25 '13 at 11:51













To solve this error I have reinstalled ruby completely, using RVM this time. I'm on centos but I'll write a summary of the commands I've ran, that could be useful to someone: curl -L get.rvm.io | bash -s stable source /etc/profile.d/rvm.sh // this can change rvm requirements rvm install ruby-2.0.0-p353 rvm use 2.0.0 --default rvm rubygems current

– Kev
Nov 25 '13 at 12:20







To solve this error I have reinstalled ruby completely, using RVM this time. I'm on centos but I'll write a summary of the commands I've ran, that could be useful to someone: curl -L get.rvm.io | bash -s stable source /etc/profile.d/rvm.sh // this can change rvm requirements rvm install ruby-2.0.0-p353 rvm use 2.0.0 --default rvm rubygems current

– Kev
Nov 25 '13 at 12:20












2 Answers
2






active

oldest

votes


















1














I had the same error as you and after installing the JSON gem by sudo gem install json I had no problems. https://stackoverflow.com/questions/19788258/error-when-running-jekyll-new-command






share|improve this answer

































    0














    after following these instructions https://computingforgeeks.com/how-to-install-jekyll-on-ubuntu-18-04/
    I got this error.
    johnbolan@JohnBolan-Gazelle-Professional:~$ sudo gem install json
    Fetching: json-2.2.0.gem (100%)
    Building native extensions. This could take a while...
    ERROR: Error installing json:
    ERROR: Failed to build gem native extension.



    current directory: /var/lib/gems/2.5.0/gems/json-2.2.0/ext/json/ext/generator


    /usr/bin/ruby2.5 -r ./siteconf20190310-20142-vqot9r.rb extconf.rb
    creating Makefile



    current directory: /var/lib/gems/2.5.0/gems/json-2.2.0/ext/json/ext/generator
    make "DESTDIR=" clean
    sh: 1: make: not found



    current directory: /var/lib/gems/2.5.0/gems/json-2.2.0/ext/json/ext/generator
    make "DESTDIR="
    sh: 1: make: not found



    make failed, exit code 127



    Gem files will remain installed in /var/lib/gems/2.5.0/gems/json-2.2.0 for inspection.
    Results logged to /var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/json-2.2.0/gem_make.out






    share|improve this answer








    New contributor




    John Bolan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.




















      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "89"
      };
      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',
      autoActivateHeartbeat: false,
      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%2faskubuntu.com%2fquestions%2f381080%2fproblem-running-in-jekyll-installation%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      1














      I had the same error as you and after installing the JSON gem by sudo gem install json I had no problems. https://stackoverflow.com/questions/19788258/error-when-running-jekyll-new-command






      share|improve this answer






























        1














        I had the same error as you and after installing the JSON gem by sudo gem install json I had no problems. https://stackoverflow.com/questions/19788258/error-when-running-jekyll-new-command






        share|improve this answer




























          1












          1








          1







          I had the same error as you and after installing the JSON gem by sudo gem install json I had no problems. https://stackoverflow.com/questions/19788258/error-when-running-jekyll-new-command






          share|improve this answer















          I had the same error as you and after installing the JSON gem by sudo gem install json I had no problems. https://stackoverflow.com/questions/19788258/error-when-running-jekyll-new-command







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited May 23 '17 at 12:39









          Community

          1




          1










          answered Dec 23 '13 at 22:30









          Will.Will.

          545513




          545513

























              0














              after following these instructions https://computingforgeeks.com/how-to-install-jekyll-on-ubuntu-18-04/
              I got this error.
              johnbolan@JohnBolan-Gazelle-Professional:~$ sudo gem install json
              Fetching: json-2.2.0.gem (100%)
              Building native extensions. This could take a while...
              ERROR: Error installing json:
              ERROR: Failed to build gem native extension.



              current directory: /var/lib/gems/2.5.0/gems/json-2.2.0/ext/json/ext/generator


              /usr/bin/ruby2.5 -r ./siteconf20190310-20142-vqot9r.rb extconf.rb
              creating Makefile



              current directory: /var/lib/gems/2.5.0/gems/json-2.2.0/ext/json/ext/generator
              make "DESTDIR=" clean
              sh: 1: make: not found



              current directory: /var/lib/gems/2.5.0/gems/json-2.2.0/ext/json/ext/generator
              make "DESTDIR="
              sh: 1: make: not found



              make failed, exit code 127



              Gem files will remain installed in /var/lib/gems/2.5.0/gems/json-2.2.0 for inspection.
              Results logged to /var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/json-2.2.0/gem_make.out






              share|improve this answer








              New contributor




              John Bolan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.

























                0














                after following these instructions https://computingforgeeks.com/how-to-install-jekyll-on-ubuntu-18-04/
                I got this error.
                johnbolan@JohnBolan-Gazelle-Professional:~$ sudo gem install json
                Fetching: json-2.2.0.gem (100%)
                Building native extensions. This could take a while...
                ERROR: Error installing json:
                ERROR: Failed to build gem native extension.



                current directory: /var/lib/gems/2.5.0/gems/json-2.2.0/ext/json/ext/generator


                /usr/bin/ruby2.5 -r ./siteconf20190310-20142-vqot9r.rb extconf.rb
                creating Makefile



                current directory: /var/lib/gems/2.5.0/gems/json-2.2.0/ext/json/ext/generator
                make "DESTDIR=" clean
                sh: 1: make: not found



                current directory: /var/lib/gems/2.5.0/gems/json-2.2.0/ext/json/ext/generator
                make "DESTDIR="
                sh: 1: make: not found



                make failed, exit code 127



                Gem files will remain installed in /var/lib/gems/2.5.0/gems/json-2.2.0 for inspection.
                Results logged to /var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/json-2.2.0/gem_make.out






                share|improve this answer








                New contributor




                John Bolan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.























                  0












                  0








                  0







                  after following these instructions https://computingforgeeks.com/how-to-install-jekyll-on-ubuntu-18-04/
                  I got this error.
                  johnbolan@JohnBolan-Gazelle-Professional:~$ sudo gem install json
                  Fetching: json-2.2.0.gem (100%)
                  Building native extensions. This could take a while...
                  ERROR: Error installing json:
                  ERROR: Failed to build gem native extension.



                  current directory: /var/lib/gems/2.5.0/gems/json-2.2.0/ext/json/ext/generator


                  /usr/bin/ruby2.5 -r ./siteconf20190310-20142-vqot9r.rb extconf.rb
                  creating Makefile



                  current directory: /var/lib/gems/2.5.0/gems/json-2.2.0/ext/json/ext/generator
                  make "DESTDIR=" clean
                  sh: 1: make: not found



                  current directory: /var/lib/gems/2.5.0/gems/json-2.2.0/ext/json/ext/generator
                  make "DESTDIR="
                  sh: 1: make: not found



                  make failed, exit code 127



                  Gem files will remain installed in /var/lib/gems/2.5.0/gems/json-2.2.0 for inspection.
                  Results logged to /var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/json-2.2.0/gem_make.out






                  share|improve this answer








                  New contributor




                  John Bolan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.










                  after following these instructions https://computingforgeeks.com/how-to-install-jekyll-on-ubuntu-18-04/
                  I got this error.
                  johnbolan@JohnBolan-Gazelle-Professional:~$ sudo gem install json
                  Fetching: json-2.2.0.gem (100%)
                  Building native extensions. This could take a while...
                  ERROR: Error installing json:
                  ERROR: Failed to build gem native extension.



                  current directory: /var/lib/gems/2.5.0/gems/json-2.2.0/ext/json/ext/generator


                  /usr/bin/ruby2.5 -r ./siteconf20190310-20142-vqot9r.rb extconf.rb
                  creating Makefile



                  current directory: /var/lib/gems/2.5.0/gems/json-2.2.0/ext/json/ext/generator
                  make "DESTDIR=" clean
                  sh: 1: make: not found



                  current directory: /var/lib/gems/2.5.0/gems/json-2.2.0/ext/json/ext/generator
                  make "DESTDIR="
                  sh: 1: make: not found



                  make failed, exit code 127



                  Gem files will remain installed in /var/lib/gems/2.5.0/gems/json-2.2.0 for inspection.
                  Results logged to /var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/json-2.2.0/gem_make.out







                  share|improve this answer








                  New contributor




                  John Bolan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  share|improve this answer



                  share|improve this answer






                  New contributor




                  John Bolan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  answered 1 hour ago









                  John BolanJohn Bolan

                  1




                  1




                  New contributor




                  John Bolan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.





                  New contributor





                  John Bolan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.






                  John Bolan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Ask Ubuntu!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f381080%2fproblem-running-in-jekyll-installation%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

                      GameSpot

                      日野市

                      Tu-95轟炸機