This repository has been archived by the owner. It is now read-only.

jekyll vs bundle exec jekyll #225

Closed
sr-murthy opened this Issue Jan 4, 2015 · 3 comments

Comments

Projects
None yet
3 participants
@sr-murthy
Copy link

sr-murthy commented Jan 4, 2015

Hi

THis is more of a question rather an issue (I am using bundle exec jekyll <command> as per the GitHub pages instructions) but what does bundler do in relation to jekyll, and what is the difference between, say, jekyll [build | serve] vs bundle exec jekyll [build | serve]?

Right now I am able to build and serve the site locally with bundle exec jekyll [build | serve], but when I jekyll [build | serve] it throws the following error

/Library/Ruby/Gems/2.0.0/gems/safe_yaml-1.0.4/lib/safe_yaml/psych_resolver.rb:4:in `<class:PsychResolver>': uninitialized constant Psych::Nodes (NameError)
from /Library/Ruby/Gems/2.0.0/gems/safe_yaml-1.0.4/lib/safe_yaml/psych_resolver.rb:2:in `<module:SafeYAML>'
from /Library/Ruby/Gems/2.0.0/gems/safe_yaml-1.0.4/lib/safe_yaml/psych_resolver.rb:1:in `<top (required)>'
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /Library/Ruby/Gems/2.0.0/gems/safe_yaml-1.0.4/lib/safe_yaml/load.rb:131:in `<module:SafeYAML>'
from /Library/Ruby/Gems/2.0.0/gems/safe_yaml-1.0.4/lib/safe_yaml/load.rb:26:in `<top (required)>'
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.5.3/lib/jekyll.rb:26:in `<top (required)>'
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /Library/Ruby/Gems/2.0.0/gems/jekyll-2.5.3/bin/jekyll:6:in `<top (required)>'
from /usr/bin/jekyll:23:in `load'
from /usr/bin/jekyll:23:in `<main>'
@doktorbro

This comment has been minimized.

Copy link
Member

doktorbro commented Jan 6, 2015

@sr-murthy

This comment has been minimized.

Copy link
Author

sr-murthy commented Jan 7, 2015

Thank you, this is very clear :)

@sr-murthy sr-murthy closed this Jan 7, 2015

@uolcano uolcano referenced this issue Sep 5, 2016

Open

利用GitHub Pages建立项目或个人网站 #11

1 of 1 task complete
@artfuldevelopment

This comment has been minimized.

Copy link

artfuldevelopment commented Mar 24, 2017

Thanks for keeping this up! 👍

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