Comments (7)
Hi @dshowland, this has, i believe, actually been fixed as of 2.1.2. I just tested it with the published gem, so using just gem 'pagemater'
in your Gemfile and running bundle update
should do the trick. Thanks for reporting the bug.
from pagemaster.
This is so strange! I'm not able to reproduce the error when using the gem locally. While I work on a fix, can you see if it works in the meantime when you replace your Gemfile with the git branch instead of the published gem, like so:
group :jekyll_plugins do
gem 'pagemaster', git: 'https://github.com/mnyrop/pagemaster', branch: '2.1.1'
end
?
from pagemaster.
Did you add
plugins:
- pagemaster
to your _config.yml
file? If not, can you add it and try rerunning bundle exec jekyll pagemaster
?
from pagemaster.
Yes, here's config.yml
:
plugins:
- pagemaster
collections:
collection-name:
output: true
source: data-file
id_key: token
layout: default```
from pagemaster.
Apologies. It looks like there was an issue relatively requiring symlinks in plugins that wasn't caught in the tests. I removed 2.1.0
and pushed a (hopefully fixed) 2.1.1
from pagemaster.
No worries, thanks for the quick attention to the issue!
I have updated to 2.1.1
but I'm still getting the same error message when I run bundle exec jekyll build
or bundle exec jekyll pagemaster
bundler: failed to load command: jekyll (/Users/me/Development/project/vendor/bundle/ruby/2.6.0/bin/jekyll)
LoadError: cannot load such file -- pagemaster/collection
/Users/me/Development/project/vendor/bundle/ruby/2.6.0/gems/pagemaster-2.1.1/lib/pagemaster.rb:14:in `require'
/Users/me/Development/project/vendor/bundle/ruby/2.6.0/gems/pagemaster-2.1.1/lib/pagemaster.rb:14:in `<top (required)>'
/Users/me/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/runtime.rb:74:in `require'
/Users/me/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/runtime.rb:74:in `block (2 levels) in require'
/Users/me/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/runtime.rb:69:in `each'
/Users/me/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/runtime.rb:69:in `block in require'
/Users/me/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/runtime.rb:58:in `each'
/Users/me/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/runtime.rb:58:in `require'
/Users/me/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler.rb:174:in `require'
/Users/me/Development/project/vendor/bundle/ruby/2.6.0/gems/jekyll-4.0.0/lib/jekyll/plugin_manager.rb:53:in `require_from_bundler'
/Users/me/Development/project/vendor/bundle/ruby/2.6.0/gems/jekyll-4.0.0/exe/jekyll:11:in `<top (required)>'
/Users/me/Development/project/vendor/bundle/ruby/2.6.0/bin/jekyll:23:in `load'
/Users/me/Development/project/vendor/bundle/ruby/2.6.0/bin/jekyll:23:in `<top (required)>'
Gemfile.lock
GEM
remote: https://rubygems.org/
specs:
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
colorator (1.1.0)
concurrent-ruby (1.1.5)
em-websocket (0.5.1)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
eventmachine (1.2.7)
ffi (1.12.1)
forwardable-extended (2.6.0)
http_parser.rb (0.6.0)
i18n (1.8.2)
concurrent-ruby (~> 1.0)
jekyll (4.0.0)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (>= 0.9.5, < 2)
jekyll-sass-converter (~> 2.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.1)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (~> 0.3.3)
pathutil (~> 0.9)
rouge (~> 3.0)
safe_yaml (~> 1.0)
terminal-table (~> 1.8)
jekyll-sass-converter (2.0.1)
sassc (> 2.0.1, < 3.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.1.0)
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
listen (3.2.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.3.6)
pagemaster (2.1.1)
jekyll (~> 4)
rainbow (~> 3.0)
safe_yaml (~> 1.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (4.0.3)
rainbow (3.0.0)
rb-fsevent (0.10.3)
rb-inotify (0.10.1)
ffi (~> 1.0)
rouge (3.15.0)
safe_yaml (1.0.5)
sassc (2.2.1)
ffi (~> 1.9)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
unicode-display_width (1.6.0)
PLATFORMS
ruby
DEPENDENCIES
jekyll (~> 4.0)
pagemaster
BUNDLED WITH
2.1.4
from pagemaster.
Replacing the published gem with the git branch worked!
from pagemaster.
Related Issues (18)
- consolidate input and source
- Choose output directory HOT 2
- Conditions for parsing a collection HOT 2
- Question about ID HOT 4
- JSON error HOT 2
- Command bundle exec jekyll pagemaster [collection] not working HOT 3
- Content section HOT 3
- Test + upgrade to use Jekyll 4.0 HOT 4
- add content/body option
- enable more granular/custom configuration
- jekyll 4.0.0 | Error: Cannot load ...check for typos and rebuild.
- Is there a permalink option HOT 6
- 'jekyll pagemaster' could not be found. HOT 1
- use as jekyll command HOT 1
- If chinese character can be supported as file name HOT 1
- permalink setting ignored HOT 4
- License HOT 1
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 pagemaster.