Skip to content

Error while generating the simple app in README #984

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kerolloz opened this issue Mar 2, 2021 · 2 comments · Fixed by #987
Closed

Error while generating the simple app in README #984

kerolloz opened this issue Mar 2, 2021 · 2 comments · Fixed by #987

Comments

@kerolloz
Copy link

kerolloz commented Mar 2, 2021

running the following command gives an error

rails new searchapp --skip --skip-bundle --template https://raw.github.com/elasticsearch/elasticsearch-rails/master/elasticsearch-rails/lib/rails/templates/01-basic.rb

image

Bundler could not find compatible versions for gem "elasticsearch":
  In Gemfile:
    elasticsearch

    elasticsearch-model was resolved to 7.1.0, which depends on
      elasticsearch (~> 7)

$ rails --version
Rails 6.0.3.5
@akiko-pusu
Copy link

Hi, I saw the same situation and just tried to create the pull request.
(I withdrew it for some reason but I think this was effective. Hope this would be any help.)

@picandocodigo
Copy link
Member

@akiko-pusu thank you very much for the the fix! I couldn't merge your PR since it was closed, but I've added the fix now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants