Open mandliya opened 9 years ago
Hi Ravi,
Are you using a Ruby version manager?
I'm having this same issue. I'm using rbenv as a ruby version manager. Installed ruby version is 2.1.4.
Hi,
Could you please try by modifying Gemfile
as follows and check weather it solve the issue:
source 'https://rubygems.org'
require 'json'
require 'open-uri'
versions = JSON.parse(open('https://pages.github.com/versions.json').read)
gem 'github-pages', versions['github-pages']
gem 'kramdown', versions['kramdown']
gem 'rake'
I tried modifying the Gemfile
and still have the same issue as others are having.
I modified the Gemfile
but still get this error:
WARN: Unresolved specs during Gem::Specification.reset: listen (~> 3.0) WARN: Clearing out unresolved specs. Please report a bug if this causes problems. Configuration file: .../harmony/_config.yml Dependency Error: Yikes! It looks like you don't have kramdown or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to install this gem. The full error message from Ruby is: 'cannot load such file -- kramdown' If you run into trouble, you can find helpful resources at http://jekyllrb.com/help/! jekyll 3.1.2 | Error: kramdown
Hi,
Run :
[sudo] bundle clean --force
:smile: this work's for me...
Thanks bundle clean --force
worked for me
Hi,
Run :
[sudo] bundle clean --force
😄 this work's for me...
which directory did you run this command?
Somehow, the suggested command bundle clean --force
simply removed all my gems, including Jekyll and its dependencies 😕. Use with care.
Once I have cloned the theme I run "bundle install". It seems to be working successfully, I get this in the end:
Bundle complete! 3 Gemfile dependencies, 56 gems now installed. Use
bundle show [gemname]
to see where a bundled gem is installed.Then I run "jekyll serve", I get the below error:
Conversion error: Jekyll::Converters::Markdown encountered an error while converting '_posts/2014-07-28-welcome-to-jekyll.markdown/#excerpt': Missing dependency: kramdown ERROR: YOUR SITE COULD NOT BE BUILT:
I install the gem using : sudo gem install kramdown it install successfully. However, "jekyll serve" still fails.
Following stack overflow suggestion (http://stackoverflow.com/questions/28574314/missing-gem-dependencies) to add gem 'kramdown' in Gemfile and then running bundle install did not help too..
I know kramdown is installed, I am not sure how to move ahead, any help would be great.
Thanks