我是ruby的新手,当我想使用github构建一个博客时,我添加了一个插件
我slashdotdash/jekyll-lunr-js-search
jekyll-lunr-js-search.rb
进行全文检索
在./_plugins
下,我将gems:[jekyll-lunr-js-search]
添加到我的_config.yml
,之后我无法构建网站,收到此错误:
ray@ubuntu:/var/www/ss$ jekyll build -t
Configuration file: /var/www/ss/_config.yml
/home/ray/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:
in require': cannot load such file -- jekyll-lunr-js-search.rb (LoadError) from /home/ray/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in require'
from /home/ray/.rvm/gems/ruby-2.0.0-p247/gems/jekyll-1.3.0/lib/jekyll/site.rb:81:in block in setup'
请帮助!!!
答案 0 :(得分:0)
已修复..我不应将此gems:[jekyll-lunr-js-search]
添加到_config.yml
...