algolia / algoliasearch-jekyll

⚠ DEPRECATED Use jekyll-algolia instead.
https://community.algolia.com/jekyll-algolia/
MIT License
125 stars 12 forks source link

0.6.1 not working with Jekyll 3 or github-pages gem #21

Closed ghost closed 8 years ago

ghost commented 8 years ago

Using Github pages with Jekyll 3 (3.0.2)

source 'https://rubygems.org'

gem 'github-pages'

group :jekyll_plugins do
  gem 'algoliasearch-jekyll', '~> 0.6.1'
end
$ rm -rf Gemfile.lock
$ bundle install
Fetching gem metadata from https://rubygems.org/............
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies.........
Bundler could not find compatible versions for gem "jekyll":
  In Gemfile:
    algoliasearch-jekyll (~> 0.6.1) was resolved to 0.6.1, which depends on
      jekyll (~> 2.5)

    github-pages was resolved to 1, which depends on
      jekyll (= 1.1.2)

source 'https://rubygems.org'

gem 'jekyll', '~> 3.1'

group :jekyll_plugins do
  gem 'algoliasearch-jekyll', '~> 0.6.1'
end
Fetching gem metadata from https://rubygems.org/...........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies...
Bundler could not find compatible versions for gem "jekyll":
  In Gemfile:
    jekyll (~> 3.1)

    algoliasearch-jekyll (~> 0.6.1) was resolved to 0.6.1, which depends on
      jekyll (~> 2.5)

Version 0.6.0 is working fine:

source 'https://rubygems.org'

gem 'github-pages'

group :jekyll_plugins do
  gem 'algoliasearch-jekyll', '~> 0.6.0'
end
$ bundle install
Fetching gem metadata from https://rubygems.org/............
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies.........
Using rake 10.5.0
Using RedCloth 4.2.9
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.8.4
Using thread_safe 0.3.5
Using addressable 2.3.8
Using httpclient 2.7.1
Using bundler 1.11.2
Using thor 0.19.1
Using awesome_print 1.6.1
Using mini_portile2 2.0.0
Using coffee-script-source 1.10.0
Using execjs 2.6.0
Using colorator 0.1
Using ffi 1.9.10
Using multipart-post 2.0.0
Using gemoji 2.1.0
Using net-dns 0.8.0
Using public_suffix 1.5.3
Using sass 3.4.21
Using rb-fsevent 0.9.7
Using kramdown 1.9.0
Using liquid 3.0.6
Using mercenary 0.3.5
Using rouge 1.10.1
Using safe_yaml 1.0.4
Using jekyll-feed 0.3.1
Using jekyll-paginate 1.1.0
Using jekyll-sitemap 0.10.0
Using rdiscount 2.1.8
Using redcarpet 3.3.3
Using terminal-table 1.5.2
Using jekyll-textile-converter 0.1.0
Using tzinfo 1.2.2
Using algoliasearch 1.7.0
Using appraisal 2.1.0
Using nokogiri 1.6.7.2
Using coffee-script 2.4.1
Using ethon 0.8.1
Using rb-inotify 0.9.5
Using faraday 0.9.2
Using jekyll-sass-converter 1.3.0
Using activesupport 4.2.5.1
Using algoliasearch-jekyll 0.6.0
Using jekyll-coffeescript 1.0.1
Using typhoeus 0.8.0
Using listen 3.0.5
Using sawyer 0.6.0
Using html-pipeline 2.3.0
Using github-pages-health-check 0.6.0
Using jekyll-watch 1.3.1
Using octokit 4.2.0
Using jekyll 3.0.2
Using jekyll-gist 1.4.0
Using jekyll-mentions 1.0.0
Using jekyll-redirect-from 0.9.1
Using jekyll-seo-tag 0.1.4
Using jemoji 0.5.1
Using github-pages 45
Bundle complete! 2 Gemfile dependencies, 60 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
pixelastic commented 8 years ago

Hmm, interesting.

Thanks for the report. I'll have a look at the dependencies.

pixelastic commented 8 years ago

@jordandanielewski I just pushed v0.7.0 to rubygems which should fix your issue.

Tell me if this works :)

ghost commented 8 years ago

Working fine :)

$ bundle install
Fetching gem metadata from https://rubygems.org/............
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies.......
Using rake 10.5.0
Using RedCloth 4.2.9
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.8.4
Using thread_safe 0.3.5
Using addressable 2.4.0
Using httpclient 2.7.1
Using bundler 1.11.2
Using thor 0.19.1
Using awesome_print 1.6.1
Using mini_portile2 2.0.0
Using verbal_expressions 0.1.5
Using coffee-script-source 1.10.0
Using execjs 2.6.0
Using colorator 0.1
Using ffi 1.9.10
Using multipart-post 2.0.0
Using gemoji 2.1.0
Using net-dns 0.8.0
Using public_suffix 1.5.3
Using sass 3.4.21
Using rb-fsevent 0.9.7
Using kramdown 1.9.0
Using liquid 3.0.6
Using mercenary 0.3.5
Using rouge 1.10.1
Using safe_yaml 1.0.4
Using jekyll-feed 0.4.0
Using jekyll-paginate 1.1.0
Using jekyll-sitemap 0.10.0
Using rdiscount 2.1.8
Using redcarpet 3.3.3
Using terminal-table 1.5.2
Using jekyll-textile-converter 0.1.0
Using tzinfo 1.2.2
Using algoliasearch 1.7.0
Using appraisal 2.1.0
Using nokogiri 1.6.7.2
Using coffee-script 2.4.1
Using ethon 0.8.1
Using rb-inotify 0.9.7
Using faraday 0.9.2
Using jekyll-sass-converter 1.3.0
Installing activesupport 4.2.6
Installing algoliasearch-jekyll 0.7.0
Using jekyll-coffeescript 1.0.1
Using typhoeus 0.8.0
Using listen 3.0.6
Installing sawyer 0.7.0
Using html-pipeline 2.3.0
Using jekyll-watch 1.3.1
Installing octokit 4.3.0
Using jekyll 3.0.3
Installing github-pages-health-check 1.1.0
Using jekyll-gist 1.4.0
Using jekyll-mentions 1.0.1
Using jekyll-redirect-from 0.9.1
Installing jekyll-seo-tag 1.3.2
Using jemoji 0.5.1
Installing github-pages 54
Bundle complete! 2 Gemfile dependencies, 61 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
Post-install message from github-pages:
---------------------------------------------------
Thank you for installing github-pages!
GitHub Pages recently upgraded to Jekyll 3.0, which
includes some breaking changes. More information:
https://github.com/blog/2100-github-pages-jekyll-3
---------------------------------------------------