Giter Club home page Giter Club logo

Comments (6)

ashmaroli avatar ashmaroli commented on June 2, 2024 1

@Ollymid Please run the command with --trace appended for additional info regarding the error..

bundle exec jekyll post "My New Post" --trace

from jekyll-compose.

ashmaroli avatar ashmaroli commented on June 2, 2024 1

You're using an old version of Jekyll and the plugin.
Please edit your Gemfile to use at least Jekyll 3.7.0 and Jekyll Compose v0.11.0

from jekyll-compose.

Ollymid avatar Ollymid commented on June 2, 2024 1

@ashmaroli - solved! Many thanks to yourself and @DirtyF for your assistance

from jekyll-compose.

DirtyF avatar DirtyF commented on June 2, 2024

Configuration file: /Users/olly/Development/pop-website/_config.yml
jekyll 3.6.3 | Error: no implicit conversion of nil into String

Check your _config file for errors.

from jekyll-compose.

Ollymid avatar Ollymid commented on June 2, 2024

Thanks for your reply @DirtyF
I had reviewed my _config.yaml but couldn't see anything obvious?

title: My Website
email: [email protected]
description: > # this means to ignore newlines until "baseurl:"
  Write an awesome description for your new site here. You can edit this
  line in _config.yml. It will appear in your document head meta (for
  Google search results) and in your feed.xml site description.
baseurl: "" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site, e.g. http://example.com
twitter_username: name
github_username:  name

# Build settings
markdown: kramdown
theme: minima
plugins:
  - jekyll-feed
  - jekyll-paginate-v2
  - jekyll-compose
exclude:
  - Gemfile
  - Gemfile.lock
  - Makefile
  - README.md

permalink: /pages/:year/:month/:day/:title/

future: true

pagination:
  enabled: true
  sort_reverse: true
  trail:
    before: 1
    after: 1

Any ideas?

from jekyll-compose.

Ollymid avatar Ollymid commented on June 2, 2024

@ashmaroli I ran that command but weirdly it says Jekyll doesn't exist as a command
Not sure why that is, as bundle exec jekyll serve etc work as expected

(website) Bob:pop-website olly$ bundle exec jekyll post "My new post" --trace
Configuration file: /Users/olly/Development/pop-website/_config.yml
bundler: failed to load command: jekyll (/Users/olly/.rbenv/versions/2.4.1/bin/jekyll)
TypeError: no implicit conversion of nil into String
  /Users/olly/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/jekyll-compose-0.9.0/lib/jekyll-compose/arg_parser.rb:36:in `join'
  /Users/olly/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/jekyll-compose-0.9.0/lib/jekyll-compose/arg_parser.rb:36:in `source'
  /Users/olly/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/jekyll-compose-0.9.0/lib/jekyll/commands/post.rb:35:in `process'
  /Users/olly/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/jekyll-compose-0.9.0/lib/jekyll/commands/post.rb:13:in `block (2 levels) in init_with_program'
  /Users/olly/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `block in execute'
  /Users/olly/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `each'
  /Users/olly/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `execute'
  /Users/olly/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in `go'
  /Users/olly/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/mercenary-0.3.6/lib/mercenary.rb:19:in `program'
  /Users/olly/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/jekyll-3.6.3/exe/jekyll:15:in `<top (required)>'
  /Users/olly/.rbenv/versions/2.4.1/bin/jekyll:23:in `load'
  /Users/olly/.rbenv/versions/2.4.1/bin/jekyll:23:in `<top (required)>'

from jekyll-compose.

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.