Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.
This repository was archived by the owner on May 13, 2026. It is now read-only.

Error in local install instructions #149

Description

@jaraco

I ran the local install instructions on a macOS 10.13 system with Ruby installed via Homebrew, but got the following error when trying to run the server:

python3statement.github.io feature/cherrypy $ jekyll serve -w
Traceback (most recent call last):
        10: from /usr/local/bin/jekyll:23:in `<main>'
         9: from /usr/local/bin/jekyll:23:in `load'
         8: from /usr/local/lib/ruby/gems/2.5.0/gems/jekyll-3.8.3/exe/jekyll:11:in `<top (required)>'
         7: from /usr/local/lib/ruby/gems/2.5.0/gems/jekyll-3.8.3/lib/jekyll/plugin_manager.rb:50:in `require_from_bundler'
         6: from /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/bundler.rb:107:in `setup'
         5: from /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/bundler/runtime.rb:26:in `setup'
         4: from /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/bundler/runtime.rb:26:in `map'
         3: from /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/forwardable.rb:229:in `each'
         2: from /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/forwardable.rb:229:in `each'
         1: from /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/bundler/runtime.rb:31:in `block in setup'
/usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/bundler/runtime.rb:313:in `check_for_activated_spec!': You have already activated rouge 3.2.1, but your Gemfile requires rouge 2.2.1. Prepending `bundle exec` to your command may solve this. (Gem::LoadError)

Activity

  1. jaraco commented on Sep 1, 2018

    @jaraco
    ContributorAuthor

    Seems the recommendation by the error message does work around the issue:

    python3statement.github.io feature/cherrypy $ bundle exec jekyll serve -w
    Configuration file: /Users/jaraco/code/public/python3statement.github.io/_config.yml
                Source: /Users/jaraco/code/public/python3statement.github.io
           Destination: /Users/jaraco/code/public/python3statement.github.io/_site
     Incremental build: disabled. Enable with --incremental
          Generating...
                        done in 2.071 seconds.
     Auto-regeneration: enabled for '/Users/jaraco/code/public/python3statement.github.io'
        Server address: http://0.0.0.0:4000
      Server running... press ctrl-c to stop.
    
  2. jaraco commented on Sep 1, 2018

    @jaraco
    ContributorAuthor

    Here's the full install log.

  3. Carreau commented on Sep 1, 2018

    @Carreau
    Member

    Yeah I always use bundle with jekyll, I think we can update the instruction.
    It is also pre-deployed on netlify so we could actually tell people: send a PR, and click on the preview link if you can't get it to work on your machine.

  4. Carreau commented on Sep 1, 2018

    @Carreau
    Member

    See #152, I'm not a ruby person, so invocationas are magics to me.

  5. avangmbp commented on Sep 22, 2021

    @avangmbp

    ຂ້ອຍແລ່ນຄໍາແນະນໍາການຕິດຕັ້ງທ້ອງຖິ່ນຢູ່ໃນລະບົບ macOS 10.13 ທີ່ມີ Ruby ຕິດຕັ້ງຜ່ານ Homebrew, ແຕ່ໄດ້ຮັບຂໍ້ຜິດພາດຕໍ່ໄປນີ້ເມື່ອພະຍາຍາມແລ່ນ server:

    python3statement.github.io feature/cherrypy $ jekyll serve -w
    Traceback (most recent call last):
            10: from /usr/local/bin/jekyll:23:in `<main>'
             9: from /usr/local/bin/jekyll:23:in `load'
             8: from /usr/local/lib/ruby/gems/2.5.0/gems/jekyll-3.8.3/exe/jekyll:11:in `<top (required)>'
             7: from /usr/local/lib/ruby/gems/2.5.0/gems/jekyll-3.8.3/lib/jekyll/plugin_manager.rb:50:in `require_from_bundler'
             6: from /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/bundler.rb:107:in `setup'
             5: from /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/bundler/runtime.rb:26:in `setup'
             4: from /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/bundler/runtime.rb:26:in `map'
             3: from /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/forwardable.rb:229:in `each'
             2: from /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/forwardable.rb:229:in `each'
             1: from /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/bundler/runtime.rb:31:in `block in setup'
    /usr/local/Cellar/ruby/2.5.1/lib/ruby/2.5.0/bundler/runtime.rb:313:in `check_for_activated_spec!': You have already activated rouge 3.2.1, but your Gemfile requires rouge 2.2.1. Prepending `bundle exec` to your command may solve this. (Gem::LoadError)
    

    #149 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions