Giter Club home page Giter Club logo

Comments (6)

imathis avatar imathis commented on August 27, 2024

Thanks for the report. This is very much still a work in progress.

from genesis-theme.

parkr avatar parkr commented on August 27, 2024

@change2hao Make sure your gem declaration in _config.yml is an array:

gems: [octopress-genesis-theme]

or simply

gems:
- octopress-genesis-theme

If that doesn't fix it, please re-run jekyll build --trace and paste the output.

from genesis-theme.

change2hao avatar change2hao commented on August 27, 2024

@parkr
I declaration

gems:
  -octopress-genesis-theme

and follow your advice, i changed to

gems:
- octopress-genesis-theme

and the trace as follows:

Configuration file: /Users/tianliwei/blog/_config.yml
/Library/Ruby/Gems/2.0.0/gems/jekyll-2.5.3/lib/jekyll/plugin_manager.rb:29:in `require': cannot load such file -- octopress-genesis-theme (LoadError)
    from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.5.3/lib/jekyll/plugin_manager.rb:29:in `block in require_gems'
    from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.5.3/lib/jekyll/plugin_manager.rb:26:in `each'
    from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.5.3/lib/jekyll/plugin_manager.rb:26:in `require_gems'
    from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.5.3/lib/jekyll/plugin_manager.rb:19:in `conscientious_require'
    from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.5.3/lib/jekyll/site.rb:79:in `setup'
    from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.5.3/lib/jekyll/site.rb:41:in `initialize'
    from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.5.3/lib/jekyll/commands/build.rb:29:in `new'
    from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.5.3/lib/jekyll/commands/build.rb:29:in `process'
    from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.5.3/lib/jekyll/commands/build.rb:18:in `block (2 levels) in init_with_program'
    from /Library/Ruby/Gems/2.0.0/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `call'
    from /Library/Ruby/Gems/2.0.0/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `block in execute'
    from /Library/Ruby/Gems/2.0.0/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `each'
    from /Library/Ruby/Gems/2.0.0/gems/mercenary-0.3.5/lib/mercenary/command.rb:220:in `execute'
    from /Library/Ruby/Gems/2.0.0/gems/mercenary-0.3.5/lib/mercenary/program.rb:42:in `go'
    from /Library/Ruby/Gems/2.0.0/gems/mercenary-0.3.5/lib/mercenary.rb:19:in `program'
    from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.5.3/bin/jekyll:20:in `<top (required)>'
    from /usr/bin/jekyll:23:in `load'
    from /usr/bin/jekyll:23:in `<main>'

and i have installed octopress-genesis-theme use gem install octopress-genesis-theme

from genesis-theme.

ludwick avatar ludwick commented on August 27, 2024

The rb file in the installed gem is actually just octopress-genesis.rb in my installation:

find /Users/rachael/.rvm/gems/ruby-2.2.0/gems/octopress-genesis-theme-0.0.3/lib
/Users/rachael/.rvm/gems/ruby-2.2.0/gems/octopress-genesis-theme-0.0.3/lib
/Users/rachael/.rvm/gems/ruby-2.2.0/gems/octopress-genesis-theme-0.0.3/lib/octopress-genesis
/Users/rachael/.rvm/gems/ruby-2.2.0/gems/octopress-genesis-theme-0.0.3/lib/octopress-genesis/category-generator.rb
/Users/rachael/.rvm/gems/ruby-2.2.0/gems/octopress-genesis-theme-0.0.3/lib/octopress-genesis/version.rb
/Users/rachael/.rvm/gems/ruby-2.2.0/gems/octopress-genesis-theme-0.0.3/lib/octopress-genesis.rb

If I change _config.yaml to mention:

gems: [octopress-genesis]

It gets passed this.

from genesis-theme.

ludwick avatar ludwick commented on August 27, 2024

But, if I just use latest in github (see here for how) then it has the right name.

from genesis-theme.

imathis avatar imathis commented on August 27, 2024

It's octopress-genesis-theme. I've updated the readme. Thanks.

from genesis-theme.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.