Comments (6)
@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.
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.
@ashmaroli - solved! Many thanks to yourself and @DirtyF for your assistance
from jekyll-compose.
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.
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.
@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)
- Default to listing available drafts HOT 1
- Using templates for new posts HOT 1
- Does not handle category subdirs correctly HOT 2
- Time for a new release HOT 1
- Allow to omit the layout HOT 2
- Time for a new release HOT 1
- Time for a new release HOT 1
- post to subfolder HOT 1
- Time for a new release HOT 1
- Time for a new release HOT 1
- `Tried to load unspecified class: Time` when running jekyll unpublish HOT 12
- Time for a new release HOT 1
- Time for a new release HOT 1
- Windows 11 : auto_open : true broken when file path has spaces HOT 1
- Time for a new release HOT 1
- Time for a new release HOT 1
- VCS-aware compose commands HOT 1
- Time for a new release HOT 1
- Editor opening issue HOT 1
- Time for a new release
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jekyll-compose.