Jekyll blog import - what is this loading error? Can't upload such a file?

From the related questions that have come up, it seems like I'm missing a dependency (Ubuntu 16.04). But I have the dependencies listed in the installation guide , as well as the package, because when I tried to create a new project, it gave an error saying it was necessary. Once this was installed, I started jekyll new my-siteand installed all the folders and files in order. Then I exported my blog to an xml file and typed the command to import it into jekyll :

$ ruby -rubygems -e 'require "jekyll-import";
JekyllImport::Importers::Blogger.run({
"source"        =>"/Downloads/blog-01-18-2017.xml",
})'

But this gave me this error:

/usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot 
load such file -- jekyll-import (LoadError)
    from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require'
    from -e:1:in `<main>'

How can I find out which dependency is missing? Is there anything else I should do?

+4
1

jekyll-import install it:

$ gem install jekyll-import

, , jekyll-import. , , , , Jekylls.

+3

Source: https://habr.com/ru/post/1667164/


All Articles