我尝试将Jekyll Ideal Image Slider插件添加到我的网站。(https://github.com/jekylltools/jekyll-ideal-image-slider#integration-suggestions)
这是我的Gemfile中的cade
group :jekyll_plugins do
#add jekyll feeds
gem "jekyll-feed", "~> 0.6"
# gem "chronic"
# gem "google-api-client"
# gem "jekyll-ga"
# amp jekyll facility
gem "amp-jekyll", "1.0.2"
gem "jekyll-email-protect", "1.0.3"
# translation
gem "jekyll-i18n_tags", "~>1"
gem "ideal-image-slider"
gem "jekyll-maps"
gem "jekyll-sitemap"
end
但是当我跑bundle install
时
它给了我错误
Could not find gem 'ideal-image-slider' in any of the gem sources listed in your Gemfile.
我尝试运行以下gem install "ideal-image-slider"
但它给了我错误
ERROR: Could not find a valid gem 'ideal-image-slider' (>= 0) in any repository
我有一个Bundler版本1.16.1。提前感谢您的回答
答案 0 :(得分:0)
无法安装失败的gem,因为它是一个需要直接包含在plugins目录中的jekyll插件。您无需在Gemfile中指定它。
安装
将_plugins / ideal_image_slider.rb添加到_plugins文件夹。
将此行添加到_config.yml文件中:iis_slider_array:[]