I'm running OS X 10.11.6, and I installed Jekyll (using an existing Ruby on my system) of the recommended method: sudo gem install -n /usr/local/bin/ jekyll.
I can happily run it jekyllon my system, so I created a new site by executing jekyll new TestSite, which was successfully completed.
However, in this case it stops working: if I go cdto the site directory and run any command jekyll, I get the following error:
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /Library/Ruby/Gems/2.0.0/gems/jekyll-3.2.1/lib/jekyll/plugin_manager.rb:34:in `require_from_bundler'
from /Library/Ruby/Gems/2.0.0/gems/jekyll-3.2.1/exe/jekyll:9:in `<top (required)>'
from /usr/local/bin/jekyll:23:in `load'
from /usr/local/bin/jekyll:23:in `<main>'
Any ideas on how to make it work?
source
share