rubygems - Jekyll Dependency Error when Upgrading from 2.x to 3.x -
following the official update guide, upgraded jekyll 2.x jekyll 3.1.1.
after installation, running jekyll serve
produced following error:
dependency error: yikes! looks don't have
jekyll-markdown-block
or 1 of dependencies installed. in order use jekyll configured, you'll need install gem. full error message ruby is: 'unable activatejekyll-markdown-block-1.1.0
, becausejekyll-3.1.1
conflictsjekyll (~> 2.0)
' if run trouble, can find helpful resources @ http://jekyllrb.com/help/!
so there sudo gem update jekyll-markdown-block
, error still persisted. tried update of gems:
sudo gem update `gem list | cut -d ' ' -f 1`
and out of desperation, uninstalled all of gems (except core one, not permitted uninstall):
sudo gem uninstall `gem list | cut -d ' ' -f 1`
i proceeded install jekyll normal (assuming working clean slate):
sudo gem install jekyll fetching: liquid-3.0.6.gem (100%) installed liquid-3.0.6 fetching: kramdown-1.9.0.gem (100%) installed kramdown-1.9.0 .... parsing documentation jekyll-watch-1.3.1 installing ri documentation jekyll-watch-1.3.1 parsing documentation jekyll-3.1.1 installing ri documentation jekyll-3.1.1 14 gems installed
after installing jekyll-press
, jekyll-markdown-block
(a new error message complained didn't have them), received original error message complaining jekyll 2.x.
how can remove jekyll 2.x , complete upgrade without gem dependency errors?
i having same problem after updating jekylls 3.1.2 2.x. running jekyll serve
, received following message:
dependency error: yikes! looks don't have kramdown or 1 of dependencies installed. in order use jekyll configured, you'll need install gem. full error message ruby is: 'cannot load such file -- kramdown' if run trouble, can find helpful resources @ http://jekyllrb.com/help/!
i did virtua creative suggest on comment:
bundle install
and then:
bundle exec jekyll serve
the initial command giving me same error, bundle exec works.
Comments
Post a Comment