Comments (5)
You need to add the gem to your Gemfile, wrapped in a group :jekyll_plugins
, and add it to the gems
configuration option of your _config.yml
# Gemfile
group :jekyll_plugins do
gem 'algoliasearch-jekyll', '~> 0.4.3'
end
# _config.yml
gems:
- algoliasearch-jekyll
An easy way to test if things are working is simply to call jekyll
(or bundle exec jekyll
if you do not have the bundle
auto-hooks installed). It should display the list of available jekyll
commands, and algolia
should be displayed last
from algoliasearch-jekyll.
Hello @iloveip : is the simple "jekyll" command available ? If not, you have a problem with jekyll, not algolia. Maybe the folder of your gems is not in your path ?
from algoliasearch-jekyll.
@borisschapira jekyll
command is available.
from algoliasearch-jekyll.
@iloveip are you using a Gemfile
for your project or did you install the algoliasearch-jekyll
gem globally? (it requires a Gemfile
).
Could you also try to run bundle exec jekyll algolia push
instead of just jekyll algolia push
?
Also, maybe you need to explicitly add the gem to your _config.yml
file, like https://github.com/algolia/bootstrap/blob/algolia-search-v4/_config.yml#L21-L23
from algoliasearch-jekyll.
@pixelastic @redox @borisschapira thank you very much for your help! I wrapped the gem in a group :jekyll_plugins
and it's working now! The search is really great and I'm looking forward to using it on our Jekyll site. I was looking at different alternatives but none of them compares to Algolia.
from algoliasearch-jekyll.
Related Issues (20)
- Enhancement: Using the new facetingAfterDistinct=true for correct facet count HOT 3
- Timeout at indexing time HOT 6
- Content not rendered with Liquid before indexing? HOT 6
- Error: API key cannot write to {index_name}_tmp index HOT 2
- Ruby 2.4 compatibility HOT 2
- Status of V1 HOT 7
- Typo in README
- algolia selector returning undefined HOT 6
- Plugin not pushing all pages to index HOT 3
- Catch errors when zero element indexed HOT 1
- Unable to exclude files from indexing based on directories HOT 2
- Update json dependency to v2.0
- Update nokogiri dependency to version 1.7.2 or higher HOT 3
- Nokogiri Error HOT 8
- Better explain the difference between record_css_selector and attributesToIndex settings HOT 2
- Algolia push error: "no implicit conversion of nil into Hash" HOT 5
- Cannot install algoliasearch-jekyll HOT 6
- Asciidoc files don't get indexed HOT 1
- Synonyms deleted on index HOT 6
- Using "removeWordsIfNOResults" setting parameter does not seem to work HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from algoliasearch-jekyll.